2020-03-27 12:17:27 +01:00
|
|
|
[package]
|
2020-05-01 23:10:54 +02:00
|
|
|
name = "jirs_client"
|
2020-03-27 12:17:27 +01:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Adrian Wozniak <adrian.wozniak@ita-prog.pl>"]
|
|
|
|
edition = "2018"
|
2020-03-31 14:28:30 +02:00
|
|
|
description = "JIRS (Simplified JIRA in Rust) WASM client"
|
|
|
|
repository = "https://gitlab.com/adrian.wozniak/jirs"
|
|
|
|
license = "MPL-2.0"
|
|
|
|
#license-file = "../LICENSE"
|
2020-03-27 12:17:27 +01:00
|
|
|
|
|
|
|
[lib]
|
2020-03-29 19:56:55 +02:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2020-03-27 12:17:27 +01:00
|
|
|
name = "jirs_client"
|
|
|
|
path = "./src/lib.rs"
|
|
|
|
|
2020-04-14 16:20:05 +02:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 's'
|
|
|
|
|
2020-03-27 12:17:27 +01:00
|
|
|
[dependencies]
|
2020-03-30 08:16:26 +02:00
|
|
|
jirs-data = { path = "../jirs-data" }
|
|
|
|
seed = { version = "*" }
|
|
|
|
serde = "*"
|
|
|
|
serde_json = "*"
|
2020-04-05 15:15:09 +02:00
|
|
|
bincode = "1.2.1"
|
2020-05-01 23:10:54 +02:00
|
|
|
chrono = { version = "0.4", features = [ "serde" ] }
|
|
|
|
uuid = { version = "0.8.1", features = [ "serde" ] }
|
2020-04-06 08:38:08 +02:00
|
|
|
wasm-bindgen = "0.2.60"
|
2020-03-30 14:26:25 +02:00
|
|
|
futures = "^0.1.26"
|
2020-04-10 08:09:40 +02:00
|
|
|
comrak = "*"
|
2020-04-05 15:15:09 +02:00
|
|
|
|
|
|
|
[dependencies.js-sys]
|
2020-04-06 08:38:08 +02:00
|
|
|
version = "*"
|
2020-03-30 14:26:25 +02:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
2020-04-06 08:38:08 +02:00
|
|
|
version = "0.3.22"
|
2020-03-30 14:26:25 +02:00
|
|
|
features = [
|
2020-04-12 13:21:47 +02:00
|
|
|
# elements
|
2020-03-31 22:05:18 +02:00
|
|
|
"Window",
|
|
|
|
"HtmlDivElement",
|
2020-04-02 16:14:07 +02:00
|
|
|
"HtmlDocument",
|
|
|
|
"Document",
|
2020-04-12 13:21:47 +02:00
|
|
|
"HtmlBodyElement",
|
|
|
|
# types
|
|
|
|
"DataTransfer",
|
|
|
|
"DomRect",
|
2020-04-05 15:15:09 +02:00
|
|
|
"Selection",
|
|
|
|
"CssStyleDeclaration",
|
|
|
|
"WebSocket",
|
|
|
|
"BinaryType",
|
|
|
|
"Blob",
|
2020-04-12 13:21:47 +02:00
|
|
|
"AddEventListenerOptions",
|
2020-05-05 08:33:40 +02:00
|
|
|
"File",
|
|
|
|
"FileList",
|
|
|
|
"FormData",
|
|
|
|
"FileReader",
|
|
|
|
"FileReaderSync",
|
2020-04-12 13:21:47 +02:00
|
|
|
# events
|
|
|
|
"EventTarget",
|
2020-04-06 08:38:08 +02:00
|
|
|
"ErrorEvent",
|
2020-04-12 13:21:47 +02:00
|
|
|
"MessageEvent",
|
|
|
|
"KeyEvent",
|
|
|
|
"KeyboardEvent",
|
|
|
|
"DragEvent",
|
2020-03-30 14:26:25 +02:00
|
|
|
]
|
2020-05-01 23:10:54 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
wasm-bindgen-test = { version = "*" }
|