[package] name = "marktwin" version = "0.5.0" authors = ["Eternaltwin "] categories = ["wasm"] license.workspace = true edition.workspace = true rust-version.workspace = true description = "Marktwin format support for Eternaltwin." documentation = "https://gitlab.com/eternal-twin/marktwin" homepage = "https://gitlab.com/eternal-twin/marktwin" repository = "https://gitlab.com/eternal-twin/marktwin" [lib] name = "marktwin" path = "src/lib.rs" crate-type = ["cdylib", "rlib"] [dependencies] drop_bomb = "0.1.5" html-escape = "0.2.13" rowan = "0.15.13" serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.108" smol_str = "0.2.0" # TODO: Use core::mem::variant_count # https://doc.rust-lang.org/nightly/core/mem/fn.variant_count.html variant_count = "1.1.0" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = { version = "0.2.89", features = ["serde-serialize"] } serde-wasm-bindgen = { version = "0.6.1" } [dev-dependencies] test-generator = "0.3.1"