bitque/jirs-client/Cargo.toml

107 lines
2.0 KiB
TOML
Raw Normal View History

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
2020-10-18 10:35:41 +02:00
[package.metadata.wasm-pack.profile.dev]
wasm-opt = false
[[bin]]
name = "print"
path = "./src/print.rs"
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
[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-10-21 23:59:17 +02:00
jirs-data = { path = "../jirs-data", features = ["frontend"] }
2020-10-18 10:35:41 +02:00
wee_alloc = "*"
seed = { version = "0.7.0" }
2020-10-18 10:35:41 +02:00
serde = { version = "*" }
serde_json = { version = "*" }
bincode = { version = "*" }
serde_cbor = "0.11.1"
chrono = { version = "0.4", default-features = false, 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-10-23 11:36:34 +02:00
flate2 = "*"
2020-04-05 15:15:09 +02:00
2020-08-13 23:44:37 +02:00
lazy_static = "*"
[dependencies.wasm-bindgen]
2020-10-18 10:35:41 +02:00
version = "*"
features = ["enable-interning"]
2020-04-05 15:15:09 +02:00
[dependencies.js-sys]
2020-04-06 08:38:08 +02:00
version = "*"
default-features = false
2020-03-30 14:26:25 +02:00
[dependencies.web-sys]
2020-10-18 10:35:41 +02:00
version = "*"
default-features = false
2020-03-30 14:26:25 +02:00
features = [
# elements
2020-03-31 22:05:18 +02:00
"Window",
"HtmlDivElement",
2020-04-02 16:14:07 +02:00
"HtmlDocument",
"Document",
"HtmlBodyElement",
# types
"DataTransfer",
"DomRect",
2020-04-05 15:15:09 +02:00
"Selection",
"CssStyleDeclaration",
"WebSocket",
"BinaryType",
"Blob",
"AddEventListenerOptions",
2020-05-05 08:33:40 +02:00
"File",
"FileList",
"FormData",
"FileReader",
"FileReaderSync",
2020-06-16 21:15:08 +02:00
"Range",
# events
"EventTarget",
2020-04-06 08:38:08 +02:00
"ErrorEvent",
"MessageEvent",
"KeyEvent",
"KeyboardEvent",
"DragEvent",
2020-03-30 14:26:25 +02:00
]
2020-05-01 23:10:54 +02:00
2020-10-23 11:36:34 +02:00
[dependencies.syntect]
version = "=4.2.0"
default-features = false
features = [
"parsing",
"dump-load",
"dump-load-rs",
"dump-create-rs",
"html",
"default-fancy"
]
2020-05-01 23:10:54 +02:00
[dev-dependencies]
wasm-bindgen-test = { version = "*" }