Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure (empty) workspace lints #113

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ members = [
"matrix-transpose",
"clmul",
]
resolver = "2"

[workspace.lints.rust]
# unsafe_code = "forbid"

[workspace.lints.clippy]
# enum_glob_use = "deny"

[workspace.dependencies]
mpz-core = { path = "mpz-core" }
Expand Down
3 changes: 3 additions & 0 deletions clmul/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "0.1.0"
rust-version = "1.56"
edition = "2021"

[lints]
workspace = true

[dependencies]
cfg-if.workspace = true
bytemuck = { workspace = true, features = ["derive"] }
Expand Down
3 changes: 3 additions & 0 deletions garble/mpz-garble-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-garble-core"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_garble_core"

Expand Down
3 changes: 3 additions & 0 deletions garble/mpz-garble/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-garble"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_garble"

Expand Down
3 changes: 3 additions & 0 deletions matrix-transpose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lints]
workspace = true

[dependencies]
thiserror.workspace = true

Expand Down
3 changes: 3 additions & 0 deletions mpz-circuits-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-circuits-macros"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_circuits_macros"
proc-macro = true
Expand Down
3 changes: 3 additions & 0 deletions mpz-circuits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-circuits"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_circuits"

Expand Down
3 changes: 3 additions & 0 deletions mpz-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ edition = "2021"
[lib]
name = "mpz_core"

[lints]
workspace = true

[features]
default = ["cointoss", "rayon"]
cointoss = ["dep:rand_chacha"]
Expand Down
3 changes: 3 additions & 0 deletions mpz-fields/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-fields"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_fields"

Expand Down
3 changes: 3 additions & 0 deletions ot/mpz-ot-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-ot-core"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_ot_core"

Expand Down
3 changes: 3 additions & 0 deletions ot/mpz-ot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-ot"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_ot"

Expand Down
3 changes: 3 additions & 0 deletions share-conversion/mpz-share-conversion-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-share-conversion-core"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_share_conversion_core"

Expand Down
3 changes: 3 additions & 0 deletions share-conversion/mpz-share-conversion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "mpz-share-conversion"
version = "0.1.0"
edition = "2021"

[lints]
workspace = true

[lib]
name = "mpz_share_conversion"

Expand Down
Loading