diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 1803a67..5a4fbf6 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -16,4 +16,4 @@ panic = "abort" [workspace.lints.rust.unexpected_cfgs] level = "forbid" -check-cfg = ['cfg(noop_authorizer)'] +check-cfg = ['cfg(noop_authorizer)', 'cfg(genproto)'] diff --git a/rust/api/Cargo.toml b/rust/api/Cargo.toml index 35c0d9a..c409591 100644 --- a/rust/api/Cargo.toml +++ b/rust/api/Cargo.toml @@ -18,3 +18,6 @@ reqwest = { version = "0.11.13", default-features = false, features = ["rustls- [features] _test_utils =["rand"] + +[lints] +workspace = true diff --git a/rust/impls/src/lib.rs b/rust/impls/src/lib.rs index 27844d0..d58b84e 100644 --- a/rust/impls/src/lib.rs +++ b/rust/impls/src/lib.rs @@ -15,5 +15,4 @@ mod migrations; /// Contains [PostgreSQL](https://www.postgresql.org/) based backend implementation for VSS. pub mod postgres_store; -#[macro_use] extern crate api;