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

29 lines
698 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"]
test = false
[dependencies]
url = "2.2.2"
wasm-bindgen = { version = "0.2.83" }
wasm-bindgen-futures = "0.4.33"
console_error_panic_hook = "0.1.6"
web-sys = { version = "0.3.51", features = ["console"] }
[dependencies.matrix-sdk]
path = "../../crates/matrix-sdk"
version = "0.6.0"
default-features = false
features = ["js", "native-tls", "e2e-encryption", "indexeddb"]
[dev-dependencies]
wasm-bindgen-test = "0.3.33"