smartive / zitadel-rust

An implementation of the ZITADEL gRPC API in Rust. Complemented with other useful elements such as ServiceAccount auth.
https://docs.rs/zitadel/latest/zitadel/
Other
48 stars 18 forks source link

Compile error in api/client.rs #557

Closed zoltantemesvari closed 6 months ago

zoltantemesvari commented 6 months ago

When I updated the package to 4.3.5, upon compiling it throws the following error:

Compiling zitadel v4.3.4 error[E0432]: unresolved import crate::api::interceptors --> /home/temes/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zitadel-4.3.4/src/api/clients.rs:14:17 | 14 | use crate::api::interceptors::{AccessTokenInterceptor, ServiceAccountInterceptor}; | ^^^^^^^^^^^^ could not find interceptors in api

For more information about this error, try rustc --explain E0432. error: could not compile zitadel (lib) due to 1 previous error

It is very strange because previously it compiled well and as far as I know there was no change in this api/client.rs file. Any idea what the issue can be here? I am getting a little desperate...thank you. (I am using rust 1.78)

zoltantemesvari commented 6 months ago

Sorry, forgot to activate the "interceptor" feature. My bad.

reburguer commented 5 days ago

error[E0425]: cannot find value auth in this scope .app_data(auth.clone()) ^^^^ not found in this scope