diff --git a/jans-cedarling/cedarling/src/bootstrap_config/decode.rs b/jans-cedarling/cedarling/src/bootstrap_config/decode.rs index 908cd966b6b..70565e4426f 100644 --- a/jans-cedarling/cedarling/src/bootstrap_config/decode.rs +++ b/jans-cedarling/cedarling/src/bootstrap_config/decode.rs @@ -3,6 +3,9 @@ // // Copyright (c) 2024, Gluu, Inc. +// to avoid a lot of `cfg` macros +#![allow(unused_imports)] + use std::collections::{HashMap, HashSet}; use std::env; use std::fmt::Display; diff --git a/jans-cedarling/cedarling/src/lib.rs b/jans-cedarling/cedarling/src/lib.rs index 340bdabe8c7..1059107ec22 100644 --- a/jans-cedarling/cedarling/src/lib.rs +++ b/jans-cedarling/cedarling/src/lib.rs @@ -85,6 +85,7 @@ impl Cedarling { /// Create a new instance of the Cedarling application. /// Initialize instance from enviroment variables and from config. /// Configuration structure has lower priority. + #[cfg(not(target_arch = "wasm32"))] pub async fn new_with_env( raw_config: Option, ) -> Result {