1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Debug, Default)]
pub struct Config {}

impl Config {
    pub fn new() -> Self {
        Self {}
    }

    #[cfg(feature = "component-model")]
    pub fn wasm_component_model(&mut self, _: bool) -> &mut Self {
        self
    }

    #[cfg(feature = "async")]
    pub fn async_support(&mut self, _: bool) -> &mut Self {
        self
    }
}