Skip to content

Commit

Permalink
Remove the unused workspace attribute rustdocflags (#702)
Browse files Browse the repository at this point in the history
* Remove the unused workspace attribute rustdocflags

* Inherit workspace metadata

* Inherit workspace metadata

---------

Co-authored-by: Pratyush Mishra <[email protected]>
  • Loading branch information
field-worker and Pratyush authored Dec 20, 2023
1 parent 713fda2 commit afc70fe
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 17 deletions.
3 changes: 2 additions & 1 deletion bench-templates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ################################
Expand Down
6 changes: 2 additions & 4 deletions ec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion ff-asm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion ff-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
7 changes: 2 additions & 5 deletions ff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion poly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion serialize-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ################################
Expand Down
3 changes: 2 additions & 1 deletion serialize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion test-curves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
3 changes: 2 additions & 1 deletion test-templates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afc70fe

Please sign in to comment.