From afc70fe70071db041eb69804f3da33d41d8f9a59 Mon Sep 17 00:00:00 2001 From: field-worker <151173028+field-worker@users.noreply.github.com> Date: Wed, 20 Dec 2023 19:17:31 +0100 Subject: [PATCH] Remove the unused workspace attribute `rustdocflags` (#702) * Remove the unused workspace attribute rustdocflags * Inherit workspace metadata * Inherit workspace metadata --------- Co-authored-by: Pratyush Mishra --- bench-templates/Cargo.toml | 3 ++- ec/Cargo.toml | 6 ++---- ff-asm/Cargo.toml | 3 ++- ff-macros/Cargo.toml | 3 ++- ff/Cargo.toml | 7 ++----- poly/Cargo.toml | 3 ++- serialize-derive/Cargo.toml | 3 ++- serialize/Cargo.toml | 3 ++- test-curves/Cargo.toml | 3 ++- test-templates/Cargo.toml | 3 ++- 10 files changed, 20 insertions(+), 17 deletions(-) diff --git a/bench-templates/Cargo.toml b/bench-templates/Cargo.toml index cf268fe5e..eef16ed44 100644 --- a/bench-templates/Cargo.toml +++ b/bench-templates/Cargo.toml @@ -12,7 +12,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true ################################# Dependencies ################################ diff --git a/ec/Cargo.toml b/ec/Cargo.toml index f58be9279..3380fb4d8 100644 --- a/ec/Cargo.toml +++ b/ec/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "elliptic-curves", "pairing"] [dependencies] @@ -40,6 +41,3 @@ hex.workspace = true default = [] std = [ "ark-std/std", "ark-ff/std", "ark-serialize/std" ] parallel = [ "std", "rayon", "ark-std/parallel" ] - -[package.metadata.docs.rs] -rustdoc-args = ["--html-in-header", "./doc/katex-header.html"] diff --git a/ff-asm/Cargo.toml b/ff-asm/Cargo.toml index 286343ba4..6fd036e15 100644 --- a/ff-asm/Cargo.toml +++ b/ff-asm/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "assembly" ] [dependencies] diff --git a/ff-macros/Cargo.toml b/ff-macros/Cargo.toml index 4d6f43a37..3e63eb105 100644 --- a/ff-macros/Cargo.toml +++ b/ff-macros/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "assembly" ] [dependencies] diff --git a/ff/Cargo.toml b/ff/Cargo.toml index bfbf07798..d099c1c20 100644 --- a/ff/Cargo.toml +++ b/ff/Cargo.toml @@ -12,7 +12,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true [dependencies] ark-ff-asm.workspace = true @@ -48,7 +49,3 @@ default = [] std = [ "ark-std/std", "ark-serialize/std", "itertools/use_std" ] parallel = [ "std", "rayon", "ark-std/parallel" ] asm = [] - - -[package.metadata.docs.rs] -rustdoc-args = ["--html-in-header", "./doc/katex-header.html"] diff --git a/poly/Cargo.toml b/poly/Cargo.toml index 86a7fb94a..3e7037850 100644 --- a/poly/Cargo.toml +++ b/poly/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "fft", "polynomials"] [dependencies] diff --git a/serialize-derive/Cargo.toml b/serialize-derive/Cargo.toml index f6f3da7a3..256ec4005 100644 --- a/serialize-derive/Cargo.toml +++ b/serialize-derive/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "finite-fields", "elliptic-curves", "serialization"] ################################# Dependencies ################################ diff --git a/serialize/Cargo.toml b/serialize/Cargo.toml index 640b91bfb..226b8091e 100644 --- a/serialize/Cargo.toml +++ b/serialize/Cargo.toml @@ -11,7 +11,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true keywords = ["cryptography", "serialization" ] [dependencies] diff --git a/test-curves/Cargo.toml b/test-curves/Cargo.toml index 688cf358c..f36e257ca 100644 --- a/test-curves/Cargo.toml +++ b/test-curves/Cargo.toml @@ -12,7 +12,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true [dependencies] ark-std = { workspace = true, default-features = false } diff --git a/test-templates/Cargo.toml b/test-templates/Cargo.toml index 7451fe8b2..1dcab3b00 100644 --- a/test-templates/Cargo.toml +++ b/test-templates/Cargo.toml @@ -12,7 +12,8 @@ include.workspace = true license.workspace = true edition.workspace = true rust-version.workspace = true -rustdocflags.workspace = true +metadata.docs.rs.workspace = true +metadata.release.workspace = true [dependencies] ark-std.workspace = true