Skip to content

Commit

Permalink
fix: remove lint from cargo.toml (breaks flutter build)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Jan 22, 2024
1 parent 90487b0 commit 3b4edaa
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
10 changes: 0 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,3 @@ subtle = { opt-level = 3 }
ring = { opt-level = 3 }
fedimint-threshold-crypto = { opt-level = 3 }
sqlx-macros = { opt-level = 3 }

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

[workspace.lints.clippy]
enum_glob_use = "warn"
#pedantic = "ignore"
#nursery = "warn"
#unwrap_used = "deny"
#allow_unwrap_in_tests = "true"
3 changes: 0 additions & 3 deletions integrationtests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,3 @@ moksha-mint = { path = "../moksha-mint" }
moksha-wallet = { path = "../moksha-wallet" }
moksha-core = { path = "../moksha-core" }
tempfile = "3.9.0"

[lints]
workspace = true
3 changes: 0 additions & 3 deletions moksha-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ url = "2.4.1"
anyhow = { version = "1.0.75", features = ["backtrace"] }
dialoguer = "0.11.0"
num-format = "0.4.4"

[lints]
workspace = true
3 changes: 0 additions & 3 deletions moksha-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ getrandom = { version = "0.2.11", features = ["js"] }
[dev-dependencies]
anyhow = "1.0.75"
pretty_assertions = "1.4.0"

[lints]
workspace = true
3 changes: 0 additions & 3 deletions moksha-fedimint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,3 @@ wasm-bindgen-futures = "0.4.37"
# see https://docs.rs/getrandom/latest/getrandom/#indirect-dependencies and https://docs.rs/getrandom/latest/getrandom/#webassembly-support
getrandom = { version = "0.2.11", features = ["js"] }
ring = { version = "0.16.20", features = ["wasm32_unknown_unknown_js", "wasm32_c"] }

[lints]
workspace = true
3 changes: 0 additions & 3 deletions moksha-mint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,3 @@ tower = { version = "0.4.13", features = ["util"] }
mockall = "0.12.0"
hex = "0.4.3"
http-body-util = "0.1.0"

[lints]
workspace = true
3 changes: 0 additions & 3 deletions moksha-wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,3 @@ sqlx = { version = "0.7.3", default-features = false, features = ["sqlite", "run
[dev-dependencies]
tempfile = "3.8.1"
mockall = "0.12.1"

[lints]
workspace = true

0 comments on commit 3b4edaa

Please sign in to comment.