aurelin 0.4.2

Aurelin is a Rust translation of Laravel
1
2
3
4
5
6
use toml_edit::{DocumentMut, value};

pub(super) fn install(manifest: &mut DocumentMut, wasm: bool) {
    let feature = if wasm { "aurelin-framework?/tokio-console" } else { "aurelin-framework/tokio-console" };
    manifest["features"]["tokio-console"] = value([feature].into_iter().collect::<toml_edit::Array>());
}