diff --git a/scylla-cql/Cargo.toml b/scylla-cql/Cargo.toml index 5843de6624..afb6390891 100644 --- a/scylla-cql/Cargo.toml +++ b/scylla-cql/Cargo.toml @@ -44,3 +44,6 @@ num-bigint-03 = ["dep:num-bigint-03"] num-bigint-04 = ["dep:num-bigint-04"] bigdecimal-04 = ["dep:bigdecimal-04"] full-serialization = ["chrono", "time", "secret", "num-bigint-03", "num-bigint-04", "bigdecimal-04"] + +[lints.rust] +unreachable_pub = "deny" diff --git a/scylla-macros/Cargo.toml b/scylla-macros/Cargo.toml index 85ec6f8b66..f82661c4ec 100644 --- a/scylla-macros/Cargo.toml +++ b/scylla-macros/Cargo.toml @@ -15,4 +15,7 @@ proc-macro = true darling = "0.20.0" syn = "2.0" quote = "1.0" -proc-macro2 = "1.0" \ No newline at end of file +proc-macro2 = "1.0" + +[lints.rust] +unreachable_pub = "deny" \ No newline at end of file diff --git a/scylla-proxy/Cargo.toml b/scylla-proxy/Cargo.toml index e268da0c9e..d0b8a105b9 100644 --- a/scylla-proxy/Cargo.toml +++ b/scylla-proxy/Cargo.toml @@ -32,3 +32,5 @@ ntest = "0.9.0" tracing-subscriber = { version = "0.3.14", features = ["env-filter"] } tokio = { version = "1.12", features = ["signal"] } +[lints.rust] +unreachable_pub = "deny" diff --git a/scylla/Cargo.toml b/scylla/Cargo.toml index 4137361d95..a8480e9225 100644 --- a/scylla/Cargo.toml +++ b/scylla/Cargo.toml @@ -70,3 +70,6 @@ time = "0.3" [[bench]] name = "benchmark" harness = false + +[lints.rust] +unreachable_pub = "deny"