From f94a627775f00a0b4b651d0aebca465ab558b6c3 Mon Sep 17 00:00:00 2001 From: Enigbe Date: Fri, 23 Jan 2026 09:38:08 +0100 Subject: [PATCH] remove unused import and unexpected cfg warnings --- rust/Cargo.toml | 2 +- rust/api/Cargo.toml | 3 +++ rust/impls/src/lib.rs | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) 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;