secure_env/lib.rs
1#[cfg(not(any(target_os = "android", target_os = "ios")))]
2compile_error!("Only Android and iOS are supported targets");
3
4pub mod error;
5
6mod key;
7pub use key::*;
8
9mod secure_environment;
10pub use secure_environment::*;
11
12#[cfg(target_os = "ios")]
13mod ios;
14#[cfg(target_os = "ios")]
15pub use ios::*;
16
17#[cfg(target_os = "android")]
18mod android;
19#[cfg(target_os = "android")]
20pub use android::*;
21
22#[cfg(target_os = "android")]
23mod jni_tokens;