[package] name = "jirs_client" version = "0.1.0" authors = ["Adrian Wozniak "] 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.dev] opt-level = 0 # Use slightly better optimizations. overflow-checks = false # Disable integer overflow checks. [profile.release] lto = true opt-level = 's' [dependencies] jirs-data = { path = "../jirs-data" } seed = { version = "0.7.0" } serde = "*" bincode = "1.2.1" chrono = { version = "0.4", features = ["serde", "wasmbind"] } uuid = { version = "0.8.1", features = ["serde"] } futures = "^0.1.26" comrak = "*" wee_alloc = "*" [dependencies.wasm-bindgen] version = "0.2.66" features = ["enable-interning"] [dependencies.js-sys] version = "*" default-features = false [dependencies.web-sys] version = "0.3.22" 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", ] [dev-dependencies] wasm-bindgen-test = { version = "*" }