Files
matrix-rust-sdk/examples/wasm_command_bot/Cargo.toml

28 lines
711 B
TOML

[package]
name = "wasm-command-bot"
version = "0.1.0"
authors = ["stoically <stoically@protonmail.com>"]
edition = "2018"
publish = false
# Config mostly pulled from: https://github.com/rustwasm/wasm-bindgen/blob/master/examples/fetch/Cargo.toml
[lib]
crate-type = ["cdylib"]
[dependencies]
url = "2.2.2"
wasm-bindgen = { version = "0.2.74", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.24"
console_error_panic_hook = "0.1.6"
web-sys = { version = "0.3.51", features = ["console"] }
[dependencies.matrix-sdk]
path = "../../crates/matrix-sdk"
version = "0.5.0"
default-features = false
features = ["native-tls", "e2e-encryption", "indexeddb"]
[dev-dependencies]
wasm-bindgen-test = "0.3.29"