diff --git a/Cargo.toml b/Cargo.toml index 88a209f..6890635 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,3 +128,6 @@ codegen-units = 1 inherits = "release" lto = "thin" codegen-units = 16 + +[workspace.lints.rust] +unsafe_code = "forbid" diff --git a/crates/forge-ci/Cargo.toml b/crates/forge-ci/Cargo.toml index 7df20c8..9112154 100644 --- a/crates/forge-ci/Cargo.toml +++ b/crates/forge-ci/Cargo.toml @@ -16,3 +16,6 @@ serde_ignored = "0.1.14" serde_json = { workspace = true } thiserror = { workspace = true } toml = { workspace = true } + +[lints] +workspace = true diff --git a/crates/forge-core/Cargo.toml b/crates/forge-core/Cargo.toml index 301b086..2573685 100644 --- a/crates/forge-core/Cargo.toml +++ b/crates/forge-core/Cargo.toml @@ -35,3 +35,6 @@ zip = { workspace = true } [dev-dependencies] tempfile.workspace = true + +[lints] +workspace = true diff --git a/crates/forge-git/Cargo.toml b/crates/forge-git/Cargo.toml index 4b5627f..579f609 100644 --- a/crates/forge-git/Cargo.toml +++ b/crates/forge-git/Cargo.toml @@ -17,3 +17,6 @@ tokio.workspace = true [dev-dependencies] tempfile.workspace = true + +[lints] +workspace = true diff --git a/crates/forge-runner/Cargo.toml b/crates/forge-runner/Cargo.toml index 5109c23..3580c7c 100644 --- a/crates/forge-runner/Cargo.toml +++ b/crates/forge-runner/Cargo.toml @@ -45,3 +45,6 @@ hyper = { workspace = true } hyper-util = { workspace = true } http-body-util = { workspace = true } bytes = { workspace = true } + +[lints] +workspace = true diff --git a/crates/forge-ssh/Cargo.toml b/crates/forge-ssh/Cargo.toml index 78ef1e3..ea897f7 100644 --- a/crates/forge-ssh/Cargo.toml +++ b/crates/forge-ssh/Cargo.toml @@ -17,3 +17,6 @@ tracing.workspace = true [dev-dependencies] tempfile.workspace = true + +[lints] +workspace = true diff --git a/crates/forge-web/Cargo.toml b/crates/forge-web/Cargo.toml index 9ba543c..bd3a02d 100644 --- a/crates/forge-web/Cargo.toml +++ b/crates/forge-web/Cargo.toml @@ -70,3 +70,6 @@ forge-runner = { workspace = true, features = ["test-host-executor"] } image = { workspace = true } scraper = { workspace = true } webauthn-authenticator-rs = { version = "0.5.5", features = ["softpasskey"] } + +[lints] +workspace = true