Skip to content

Commit afc70fe

Browse files
Remove the unused workspace attribute rustdocflags (arkworks-rs#702)
* Remove the unused workspace attribute rustdocflags * Inherit workspace metadata * Inherit workspace metadata --------- Co-authored-by: Pratyush Mishra <[email protected]>
1 parent 713fda2 commit afc70fe

File tree

10 files changed

+20
-17
lines changed

10 files changed

+20
-17
lines changed

bench-templates/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ include.workspace = true
1212
license.workspace = true
1313
edition.workspace = true
1414
rust-version.workspace = true
15-
rustdocflags.workspace = true
15+
metadata.docs.rs.workspace = true
16+
metadata.release.workspace = true
1617

1718

1819
################################# Dependencies ################################

ec/Cargo.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "elliptic-curves", "pairing"]
1617

1718
[dependencies]
@@ -40,6 +41,3 @@ hex.workspace = true
4041
default = []
4142
std = [ "ark-std/std", "ark-ff/std", "ark-serialize/std" ]
4243
parallel = [ "std", "rayon", "ark-std/parallel" ]
43-
44-
[package.metadata.docs.rs]
45-
rustdoc-args = ["--html-in-header", "./doc/katex-header.html"]

ff-asm/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "finite-fields", "assembly" ]
1617

1718
[dependencies]

ff-macros/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "finite-fields", "assembly" ]
1617

1718
[dependencies]

ff/Cargo.toml

+2-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ include.workspace = true
1212
license.workspace = true
1313
edition.workspace = true
1414
rust-version.workspace = true
15-
rustdocflags.workspace = true
15+
metadata.docs.rs.workspace = true
16+
metadata.release.workspace = true
1617

1718
[dependencies]
1819
ark-ff-asm.workspace = true
@@ -48,7 +49,3 @@ default = []
4849
std = [ "ark-std/std", "ark-serialize/std", "itertools/use_std" ]
4950
parallel = [ "std", "rayon", "ark-std/parallel" ]
5051
asm = []
51-
52-
53-
[package.metadata.docs.rs]
54-
rustdoc-args = ["--html-in-header", "./doc/katex-header.html"]

poly/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "finite-fields", "fft", "polynomials"]
1617

1718
[dependencies]

serialize-derive/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "finite-fields", "elliptic-curves", "serialization"]
1617

1718
################################# Dependencies ################################

serialize/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ include.workspace = true
1111
license.workspace = true
1212
edition.workspace = true
1313
rust-version.workspace = true
14-
rustdocflags.workspace = true
14+
metadata.docs.rs.workspace = true
15+
metadata.release.workspace = true
1516
keywords = ["cryptography", "serialization" ]
1617

1718
[dependencies]

test-curves/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ include.workspace = true
1212
license.workspace = true
1313
edition.workspace = true
1414
rust-version.workspace = true
15-
rustdocflags.workspace = true
15+
metadata.docs.rs.workspace = true
16+
metadata.release.workspace = true
1617

1718
[dependencies]
1819
ark-std = { workspace = true, default-features = false }

test-templates/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ include.workspace = true
1212
license.workspace = true
1313
edition.workspace = true
1414
rust-version.workspace = true
15-
rustdocflags.workspace = true
15+
metadata.docs.rs.workspace = true
16+
metadata.release.workspace = true
1617

1718
[dependencies]
1819
ark-std.workspace = true

0 commit comments

Comments
 (0)