From 4d69cf6b5f21897d9cdf92a02b0170ab9ecfc51e Mon Sep 17 00:00:00 2001 From: mmagician Date: Thu, 25 Jan 2024 21:42:14 +0100 Subject: [PATCH] workspace inheritance --- Cargo.toml | 13 +++++++++++++ crypto-primitives/Cargo.toml | 23 +++++++++++------------ macros/Cargo.toml | 13 +++++++++++-- 3 files changed, 35 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 634381e6..448ed64d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,19 @@ members = [ ] resolver = "2" +[workspace.package] +version = "0.4.0" +authors = [ "arkworks contributors" ] +description = "A library of useful cryptographic primitives" +documentation = "https://docs.rs/ark-crypto-primitives/" +homepage = "https://arkworks.rs" +repository = "https://github.com/arkworks-rs/crypto-primitives" +keywords = [ "r1cs", "pedersen", "blake2s", "snark", "schnorr" ] +categories = ["cryptography"] +include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] +license = "MIT/Apache-2.0" +edition = "2021" + [profile.release] opt-level = 3 lto = "thin" diff --git a/crypto-primitives/Cargo.toml b/crypto-primitives/Cargo.toml index 67634bab..3dc2baf5 100644 --- a/crypto-primitives/Cargo.toml +++ b/crypto-primitives/Cargo.toml @@ -1,17 +1,16 @@ [package] name = "ark-crypto-primitives" -version = "0.4.0" -authors = [ "arkworks contributors" ] -description = "A library of useful cryptographic primitives" -homepage = "https://arkworks.rs" -repository = "https://github.com/arkworks-rs/crypto-primitives" -documentation = "https://docs.rs/ark-crypto-primitives/" -keywords = [ "r1cs", "pedersen", "blake2s", "snark", "schnorr" ] -categories = ["cryptography"] -include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] -license = "MIT/Apache-2.0" -edition = "2021" -resolver = "2" +description.workspace = true +documentation.workspace = true +keywords.workspace = true +version.workspace = true +authors.workspace = true +homepage.workspace = true +repository.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true ################################# Dependencies ################################ diff --git a/macros/Cargo.toml b/macros/Cargo.toml index a57191de..7b20973d 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,7 +1,16 @@ [package] name = "ark-crypto-primitives-macros" -version = "0.4.0" -edition = "2021" +description.workspace = true +documentation.workspace = true +version.workspace = true +authors.workspace = true +homepage.workspace = true +repository.workspace = true +categories.workspace = true +include.workspace = true +license.workspace = true +edition.workspace = true +publish = false [dependencies] quote = { version = "1.0" }