From 7ab4aff18010abb562619c4e330f23782653e956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 7 Jul 2019 13:01:50 +0300 Subject: [PATCH] version-helper: Get ready for a release on crates.io --- gst-plugin-version-helper/Cargo.toml | 9 ++++++++- gst-plugin-version-helper/LICENSE | 23 +++++++++++++++++++++++ gst-plugin-version-helper/src/lib.rs | 5 +++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 gst-plugin-version-helper/LICENSE diff --git a/gst-plugin-version-helper/Cargo.toml b/gst-plugin-version-helper/Cargo.toml index 95d41676..eba6c600 100644 --- a/gst-plugin-version-helper/Cargo.toml +++ b/gst-plugin-version-helper/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "gst-plugin-version-helper" version = "0.1.0" -authors = ["Sajeer Ahamed "] +authors = ["Sajeer Ahamed ", + "Sebastian Dröge "] +categories = ["development-tools"] +description = "build.rs helper function for GStreamer plugin metadata" +repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" +license = "MIT" +homepage = "https://gstreamer.freedesktop.org" +keywords = ["gstreamer", "multimedia", "cargo"] edition = "2018" [dependencies] diff --git a/gst-plugin-version-helper/LICENSE b/gst-plugin-version-helper/LICENSE new file mode 100644 index 00000000..31aa7938 --- /dev/null +++ b/gst-plugin-version-helper/LICENSE @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/gst-plugin-version-helper/src/lib.rs b/gst-plugin-version-helper/src/lib.rs index 536c5b01..871c1604 100644 --- a/gst-plugin-version-helper/src/lib.rs +++ b/gst-plugin-version-helper/src/lib.rs @@ -1,3 +1,8 @@ +// Copyright (C) 2019 Sajeer Ahamed +// Copyright (C) 2019 Sebastian Dröge +// +// Licensed under the MIT license, see the LICENSE file or + use chrono::TimeZone; use git2::{Commit, ObjectType, Repository}; use std::{fs, path};