69 lines
1.3 KiB
TOML
69 lines
1.3 KiB
TOML
[package]
|
|
name = "jirs_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/jirs"
|
|
license = "MPL-2.0"
|
|
#license-file = "../LICENSE"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
name = "jirs_client"
|
|
path = "./src/lib.rs"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 's'
|
|
|
|
[dependencies]
|
|
jirs-data = { path = "../jirs-data" }
|
|
seed = { version = "0.7.0" }
|
|
serde = "*"
|
|
serde_json = "*"
|
|
bincode = "1.2.1"
|
|
chrono = { version = "0.4", features = [ "serde", "wasmbind" ] }
|
|
uuid = { version = "0.8.1", features = [ "serde" ] }
|
|
wasm-bindgen = "0.2.60"
|
|
futures = "^0.1.26"
|
|
comrak = "*"
|
|
|
|
[dependencies.js-sys]
|
|
version = "*"
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.22"
|
|
features = [
|
|
# elements
|
|
"Window",
|
|
"HtmlDivElement",
|
|
"HtmlDocument",
|
|
"Document",
|
|
"HtmlBodyElement",
|
|
# types
|
|
"DataTransfer",
|
|
"DomRect",
|
|
"Selection",
|
|
"CssStyleDeclaration",
|
|
"WebSocket",
|
|
"BinaryType",
|
|
"Blob",
|
|
"AddEventListenerOptions",
|
|
"File",
|
|
"FileList",
|
|
"FormData",
|
|
"FileReader",
|
|
"FileReaderSync",
|
|
# events
|
|
"EventTarget",
|
|
"ErrorEvent",
|
|
"MessageEvent",
|
|
"KeyEvent",
|
|
"KeyboardEvent",
|
|
"DragEvent",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = { version = "*" }
|