bitque/crates/web/Cargo.toml

75 lines
1.8 KiB
TOML

[package]
name = "bitque_client"
version = "0.1.0"
authors = ["Adrian Wozniak <adrian.wozniak@ita-prog.pl>"]
edition = "2018"
description = "JIRS (Simplified JIRA in Rust) WASM client"
repository = "https://gitlab.com/adrian.wozniak/bitque"
license = "MPL-2.0"
#license-file = "../LICENSE"
[lib]
crate-type = ["cdylib", "rlib"]
name = "bitque_client"
path = "src/lib.rs"
[features]
print-model = []
default = []
[dependencies]
bincode = { version = "*" }
bitque-data = { workspace = true, features = ["frontend"] }
chrono = { version = "0.4", default-features = false, features = ["serde", "wasmbind"] }
console_error_panic_hook = { version = "*" }
derive_enum_iter = { workspace = true }
derive_enum_primitive = { workspace = true }
dotenv = { version = "*" }
futures = "0.3.6"
js-sys = { version = "*", default-features = false }
seed = { version = "0" }
serde = { version = "1", features = [] }
serde_json = { version = "*" }
tracing = { version = "0.1.37" }
uuid = { version = "1.3.0", features = ["serde"] }
wasm-bindgen = { version = "*", features = ["enable-interning"] }
wasm-bindgen-futures = { version = "*" }
wee_alloc = { version = "*", features = ["static_array_backend"] }
[dependencies.web-sys]
version = "*"
default-features = false
features = [
# elements
"Window",
"HtmlDivElement",
"HtmlDocument",
"Document",
"HtmlBodyElement",
# types
"DataTransfer",
"DomRect",
"Selection",
"CssStyleDeclaration",
"WebSocket",
"BinaryType",
"Blob",
"AddEventListenerOptions",
"File",
"FileList",
"FormData",
"FileReader",
"FileReaderSync",
"Range",
# events
"EventTarget",
"ErrorEvent",
"MessageEvent",
"KeyEvent",
"KeyboardEvent",
"DragEvent",
]
[dev-dependencies]
wasm-bindgen-test = { version = "*" }