mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
chore: support workspace lints in all crates (#797)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -4,6 +4,9 @@ name = "tlsn-benches"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
# Enables benchmarks in the browser.
|
||||
|
||||
@@ -4,6 +4,9 @@ name = "tlsn-benches-browser-core"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
tlsn-benches-library = { workspace = true }
|
||||
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -4,6 +4,9 @@ name = "tlsn-benches-browser-wasm"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -3,3 +3,6 @@ name = "tlsn-data-fixtures"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -3,6 +3,9 @@ name = "tlsn-formats"
|
||||
version = "0.1.0-alpha.11-pre"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
tlsn-core = { workspace = true }
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -3,6 +3,9 @@ name = "notary-client"
|
||||
version = "0.1.0-alpha.11-pre"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
notary-server = { workspace = true }
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -3,3 +3,6 @@ name = "tlsn-server-fixture-certs"
|
||||
publish = false
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -4,6 +4,9 @@ publish = false
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
axum = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ version = "0.1.0-alpha.11-pre"
|
||||
edition = "2021"
|
||||
autobenches = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[lib]
|
||||
name = "tls_client"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ version = "0.0.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
bytes = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -4,6 +4,9 @@ version = "0.0.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
tlsn-common = { workspace = true }
|
||||
tlsn-core = { workspace = true }
|
||||
|
||||
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user