diff --git a/Cargo.toml b/Cargo.toml index bfa2ace..1f83473 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,24 @@ [package] name = "diman" -version = "0.5.0" -edition = "2021" description = "Zero-cost compile-time dimensional analysis." authors = ["Toni Peter "] -license = "MIT OR Apache-2.0" -repository = "https://github.com/tehforsch/diman" categories = ["science"] keywords = ["units", "dimensional-analysis"] readme = "README.md" +version.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true [workspace] members = ["crates/*"] +[workspace.package] +version = "0.5.1" +license = "MIT OR Apache-2.0" +repository = "https://github.com/tehforsch/diman" +edition = "2021" + [features] num-traits-libm = ["diman_unit_system/num-traits-libm", "diman_lib/num-traits-libm"] glam = ["dep:glam", "diman_unit_system/glam"] @@ -42,8 +48,8 @@ hdf5 = { package = "hdf5-metno", version = "0.9.0", optional = true} mpi = { version = "0.7", default-features = false, features = ["derive"], optional = true } once_cell = { version = "1.18.0", optional = true } -diman_unit_system = { path = "crates/diman_unit_system", version = "0.5", default-features = false } -diman_lib = { path = "crates/diman_lib", version = "0.5" } +diman_unit_system = { path = "crates/diman_unit_system", default-features = false } +diman_lib = { path = "crates/diman_lib"} [dev-dependencies] serde_yaml = "0.9.27" diff --git a/crates/diman_lib/Cargo.toml b/crates/diman_lib/Cargo.toml index 8f5e138..b2d458e 100644 --- a/crates/diman_lib/Cargo.toml +++ b/crates/diman_lib/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "diman_lib" -version = "0.5.0" -edition = "2021" authors = [ "Toni Peter ", ] description = "Commonly used types for internal use in diman." -license = "MIT OR Apache-2.0" -repository = "https://github.com/tehforsch/diman" +version.workspace = true +license.workspace = true +repository.workspace = true +edition.workspace = true [features] std = [] diff --git a/crates/diman_unit_system/Cargo.toml b/crates/diman_unit_system/Cargo.toml index ac05eed..45137de 100644 --- a/crates/diman_unit_system/Cargo.toml +++ b/crates/diman_unit_system/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "diman_unit_system" -version = "0.5.0" -edition = "2021" authors = [ "Toni Peter ", ] description = "Internal procedural macros for diman." -license = "MIT OR Apache-2.0" -repository = "https://github.com/tehforsch/diman" +repository.workspace = true +version.workspace = true +license.workspace = true +edition.workspace = true [features] glam = [] @@ -31,7 +31,7 @@ default = ["f32", "f64"] syn = { version = "2.0", features = ["full", "extra-traits"] } quote = "1.0" proc-macro2 = "1.0" -diman_lib = { path = "../diman_lib", version = "0.5" } +diman_lib = { path = "../diman_lib" } [lib] proc-macro = true