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"
|
2020-08-13 23:44:37 +02:00
|
|
|
path = "src/lib.rs"
|
2020-03-27 12:17:27 +01:00
|
|
|
|
2020-08-10 16:45:30 +02:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0 # Use slightly better optimizations.
|
|
|
|
overflow-checks = false # Disable integer overflow checks.
|
|
|
|
|
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" }
|
2020-05-19 11:55:55 +02:00
|
|
|
seed = { version = "0.7.0" }
|
2020-03-30 08:16:26 +02:00
|
|
|
serde = "*"
|
2020-04-05 15:15:09 +02:00
|
|
|
bincode = "1.2.1"
|
2020-08-10 16:45:30 +02:00
|
|
|
chrono = { version = "0.4", features = ["serde", "wasmbind"] }
|
|
|
|
uuid = { version = "0.8.1", features = ["serde"] }
|
2020-03-30 14:26:25 +02:00
|
|
|
futures = "^0.1.26"
|
2020-04-10 08:09:40 +02:00
|
|
|
comrak = "*"
|
2020-06-24 12:41:01 +02:00
|
|
|
wee_alloc = "*"
|
2020-08-22 23:40:02 +02:00
|
|
|
num-traits = { version = "*" }
|
2020-04-05 15:15:09 +02:00
|
|
|
|
2020-08-13 23:44:37 +02:00
|
|
|
lazy_static = "*"
|
2020-08-15 00:55:40 +02:00
|
|
|
syntect = { version = "*", default-features = false, features = ["html", "regex-fancy", "dump-load-rs"] }
|
2020-08-13 23:44:37 +02:00
|
|
|
|
2020-08-10 16:45:30 +02:00
|
|
|
[dependencies.wasm-bindgen]
|
|
|
|
version = "0.2.66"
|
|
|
|
features = ["enable-interning"]
|
|
|
|
|
2020-04-05 15:15:09 +02:00
|
|
|
[dependencies.js-sys]
|
2020-04-06 08:38:08 +02:00
|
|
|
version = "*"
|
2020-08-10 16:45:30 +02:00
|
|
|
default-features = false
|
2020-03-30 14:26:25 +02:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
2020-04-06 08:38:08 +02:00
|
|
|
version = "0.3.22"
|
2020-08-10 16:45:30 +02:00
|
|
|
default-features = false
|
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-06-16 21:15:08 +02:00
|
|
|
"Range",
|
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 = "*" }
|