Skip to content

Commit

Permalink
Configure (empty) workspace lints
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Mar 7, 2024
1 parent f5911bc commit 55b4f84
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 0 deletions.
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

0 comments on commit 55b4f84

Please sign in to comment.