diff --git a/Cargo.toml b/Cargo.toml index 0c4d542..924f6fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,16 @@ members = [ "candid_client", "candid_tui", ] + +[workspace.package] +authors = ["Alex van de Sandt "] +edition = "2018" +license = "MIT" +repository = "https://gitlab.com/avandesa/candid-rs" +keywords = ["CAN", "SocketCAN"] + +[workspace.dependencies] +byteorder = "^1.3" +clap = "^2.32" +rand = "^0.5" +socketcan = "^1.7" diff --git a/candid_client/Cargo.toml b/candid_client/Cargo.toml index 41d20d2..776d987 100644 --- a/candid_client/Cargo.toml +++ b/candid_client/Cargo.toml @@ -1,18 +1,19 @@ [package] name = "candid_client" version = "0.3.2" -authors = ["Alex van de Sandt "] -edition = "2018" description = "A library to handle client connections to a CANdid server" -license = "MIT" readme = "README" documentation = "https://docs.rs/crate/candid_client/" -repository = "https://gitlab.com/avandesa/candid-rs" -keywords = ["CAN", "SocketCAN"] + +authors.workspace = true +edition.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -byteorder = "^1.3" +byteorder.workspace = true [dev-dependencies] -clap = "^2.32" +clap.workspace = true rand = "^0.6" diff --git a/candid_server/Cargo.toml b/candid_server/Cargo.toml index 9fafec6..0d53fa7 100644 --- a/candid_server/Cargo.toml +++ b/candid_server/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "candid_server" version = "0.3.0" -authors = ["Alex van de Sandt "] -edition = "2018" description = "A server for reading and relaying messages on a CAN bus" -license = "MIT" readme = "README" documentation = "https://docs.rs/crate/candid_server/" -repository = "https://gitlab.com/avandesa/candid-rs" -keywords = ["CAN", "SocketCAN", "server"] -categories = ["command-line-utilities"] + +authors.workspace = true +edition.workspace = true +keywords.workspace = true +license.workspace = true +repository.workspace = true [dependencies] -socketcan = "^1.7" -rand = "^0.5" -clap = "^2.32" -byteorder = "^1" +socketcan.workspace = true +rand.workspace = true +clap.workspace = true +byteorder.workspace = true