From e37b08986e322e2f652556a453938c11a78f3ba8 Mon Sep 17 00:00:00 2001 From: Nikita Strygin Date: Sat, 10 Jun 2023 01:40:53 +0300 Subject: [PATCH] Add licences and descriptions to the crates --- Cargo.toml | 4 ++++ crates/f-xoss-util/Cargo.toml | 8 +++++--- crates/f-xoss/Cargo.toml | 6 ++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 66fe453..d6504f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,10 @@ members = [ "crates/f-xoss-util", ] +[workspace.package] +license = "MPL-2.0" +repository = "https://github.com/DCNick3/f-xoss.git" + # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" diff --git a/crates/f-xoss-util/Cargo.toml b/crates/f-xoss-util/Cargo.toml index 33e0933..a3c9076 100644 --- a/crates/f-xoss-util/Cargo.toml +++ b/crates/f-xoss-util/Cargo.toml @@ -2,11 +2,13 @@ name = "f-xoss-util" version = "0.1.0" edition = "2021" -repository = "https://github.com/DCNick3/f-xoss.git" +license.workspace = true +repository.workspace = true +description = "Free your XOSS device: a FOSS companion app for XOSS bike computers" [dependencies] -f-xoss = { path = "../f-xoss" } +f-xoss = { path = "../f-xoss", version = "0.1.0" } btleplug = "0.10.5" uuid = "1.3.2" @@ -57,4 +59,4 @@ tracing-indicatif = "0.3.4" ansi_term = "0.12.1" [target.'cfg(target_os = "linux")'.dependencies] -dbus = { version = "0.9.7", features = ["vendored"] } \ No newline at end of file +dbus = { version = "0.9.7", features = ["vendored"] } diff --git a/crates/f-xoss/Cargo.toml b/crates/f-xoss/Cargo.toml index 03a612b..de38475 100644 --- a/crates/f-xoss/Cargo.toml +++ b/crates/f-xoss/Cargo.toml @@ -2,7 +2,9 @@ name = "f-xoss" version = "0.1.0" edition = "2021" -repository = "https://github.com/DCNick3/f-xoss.git" +license.workspace = true +repository.workspace = true +description = "Free your XOSS device: a library for communicating with XOSS bike computers" [dependencies] @@ -37,4 +39,4 @@ anyhow = "1.0.71" tracing = "0.1.37" #tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } tracing-futures = { version = "0.2.5", features = ["futures-03"] } -tracing-indicatif = "0.3.4" \ No newline at end of file +tracing-indicatif = "0.3.4"