chore: support workspace lints in all crates (#797)

This commit is contained in:
dan
2025-04-25 13:58:26 +02:00
committed by GitHub
parent 39e14949a0
commit 43c6877ec0
32 changed files with 99 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ members = [
]
resolver = "2"
[workspace.lints.rust]
# unsafe_code = "forbid"
[workspace.lints.clippy]
# enum_glob_use = "deny"
[profile.tests-integration]
inherits = "release"
opt-level = 1

View File

@@ -4,6 +4,9 @@ name = "tlsn-benches"
publish = false
version = "0.0.0"
[lints]
workspace = true
[features]
default = []
# Enables benchmarks in the browser.

View File

@@ -4,6 +4,9 @@ name = "tlsn-benches-browser-core"
publish = false
version = "0.0.0"
[lints]
workspace = true
[dependencies]
tlsn-benches-library = { workspace = true }

View File

@@ -4,6 +4,9 @@ name = "tlsn-benches-browser-native"
publish = false
version = "0.0.0"
[lints]
workspace = true
[dependencies]
tlsn-benches-browser-core = { workspace = true }
tlsn-benches-library = { workspace = true }

View File

@@ -4,6 +4,9 @@ name = "tlsn-benches-browser-wasm"
publish = false
version = "0.0.0"
[lints]
workspace = true
[lib]
crate-type = ["cdylib", "rlib"]

View File

@@ -4,6 +4,9 @@ name = "tlsn-benches-library"
publish = false
version = "0.0.0"
[lints]
workspace = true
[dependencies]
tlsn-common = { workspace = true }
tlsn-core = { workspace = true }

View File

@@ -4,6 +4,9 @@ description = "Common code shared between tlsn-prover and tlsn-verifier"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[features]
default = []

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "cipher"

View File

@@ -3,6 +3,9 @@ name = "tlsn-deap"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[dependencies]
mpz-core = { workspace = true }
mpz-common = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "hmac_sha256_circuits"

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "hmac_sha256"

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "key_exchange"

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[features]
default = []
fixtures = ["dep:hex", "dep:tlsn-data-fixtures"]

View File

@@ -3,3 +3,6 @@ name = "tlsn-data-fixtures"
version = "0.0.0"
edition = "2021"
publish = false
[lints]
workspace = true

View File

@@ -4,6 +4,9 @@ name = "tlsn-examples"
publish = false
version = "0.0.0"
[lints]
workspace = true
[dependencies]
notary-client = { workspace = true }
tlsn-common = { workspace = true }

View File

@@ -3,6 +3,9 @@ name = "tlsn-formats"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[dependencies]
tlsn-core = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "mpc_tls"

View File

@@ -3,6 +3,9 @@ name = "notary-client"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[dependencies]
notary-server = { workspace = true }

View File

@@ -3,6 +3,9 @@ name = "notary-server"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[features]
tee_quote = [
"dep:mc-sgx-dcap-types",

View File

@@ -4,6 +4,9 @@ version = "0.0.0"
edition = "2021"
publish = false
[lints]
workspace = true
[dev-dependencies]
notary-client = { workspace = true }
notary-server = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[features]
default = ["rayon"]
rayon = ["mpz-common/rayon"]

View File

@@ -3,3 +3,6 @@ name = "tlsn-server-fixture-certs"
publish = false
version = "0.0.0"
edition = "2021"
[lints]
workspace = true

View File

@@ -4,6 +4,9 @@ publish = false
version = "0.0.0"
edition = "2021"
[lints]
workspace = true
[dependencies]
axum = { workspace = true }
anyhow = { workspace = true }

View File

@@ -4,6 +4,9 @@ version = "0.0.0"
edition = "2021"
publish = false
[lints]
workspace = true
[dev-dependencies]
tlsn-core = { workspace = true }
tlsn-common = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "tls_backend"

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "tls_client_async"

View File

@@ -9,6 +9,9 @@ version = "0.1.0-alpha.11-pre"
edition = "2021"
autobenches = false
[lints]
workspace = true
[lib]
name = "tls_client"

View File

@@ -8,6 +8,9 @@ license = "Apache-2.0 OR ISC OR MIT"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[lib]
name = "tls_core"

View File

@@ -9,6 +9,9 @@ version = "0.0.0"
edition = "2021"
publish = false
[lints]
workspace = true
[dependencies]
bytes = { workspace = true }
futures = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
version = "0.1.0-alpha.11-pre"
edition = "2021"
[lints]
workspace = true
[features]
default = ["rayon"]
rayon = ["mpz-common/rayon"]

View File

@@ -4,6 +4,9 @@ version = "0.0.0"
edition = "2021"
publish = false
[lints]
workspace = true
[dependencies]
tlsn-common = { workspace = true }
tlsn-core = { workspace = true }

View File

@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
keywords = ["tls", "tlsn", "tlsnotary"]
homepage = "https://tlsnotary.org"
[lints]
workspace = true
[lib]
crate-type = ["cdylib", "rlib"]