wasm_bridge_js/
config.rs

1#[derive(Debug, Default)]
2pub struct Config {}
3
4impl Config {
5    pub fn new() -> Self {
6        Self {}
7    }
8
9    #[cfg(feature = "component-model")]
10    pub fn wasm_component_model(&mut self, _: bool) -> &mut Self {
11        self
12    }
13
14    #[cfg(feature = "async")]
15    pub fn async_support(&mut self, _: bool) -> &mut Self {
16        self
17    }
18}