96 lines
1.9 KiB
TOML
96 lines
1.9 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"
|
|
|
|
[features]
|
|
print-model = []
|
|
default = []
|
|
|
|
[dependencies]
|
|
jirs-data = { path = "../shared/jirs-data", features = ["frontend"] }
|
|
|
|
seed = { version = "0.8.0" }
|
|
|
|
serde = { version = "*" }
|
|
serde_json = { version = "*" }
|
|
bincode = { version = "*" }
|
|
|
|
chrono = { version = "0.4", default-features = false, features = ["serde", "wasmbind"] }
|
|
uuid = { version = "0.8.2", features = ["serde"] }
|
|
futures = "0.3.6"
|
|
|
|
dotenv = { version = "*" }
|
|
wasm-logger = { version = "*" }
|
|
log = "*"
|
|
|
|
console_error_panic_hook = { version = "*" }
|
|
|
|
[dependencies.wee_alloc]
|
|
version = "*"
|
|
features = ["static_array_backend"]
|
|
|
|
[dependencies.wasm-bindgen]
|
|
version = "*"
|
|
features = ["enable-interning"]
|
|
|
|
[dependencies.wasm-bindgen-futures]
|
|
version = "*"
|
|
|
|
[dependencies.js-sys]
|
|
version = "*"
|
|
default-features = false
|
|
|
|
[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",
|
|
]
|
|
|
|
[dependencies.derive_enum_primitive]
|
|
path = "../derive/derive_enum_primitive"
|
|
|
|
[dependencies.derive_enum_iter]
|
|
path = "../derive/derive_enum_iter"
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = { version = "*" }
|