run-highlighter/Cargo.toml

51 lines
1.3 KiB
TOML
Executable File

[package]
name = "run-highlighter"
version = "0.1.0"
edition = "2018"
[lib]
name = "runhighlighter"
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
eframe = "0.13"
chrono = { version = "0.4", features = ["serde"] }
livesplit = { path = "../livesplit-rs" }
quick-xml = { version = "0.21", features = ["serialize"] }
nom = "6"
url = "2"
toml = "0.5"
futures = "0.3"
itertools = "0.10"
rfd = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "2"
default-features = false
features = ["json", "tls"]
[dependencies.serde]
version = "1"
features = ["derive"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
default-features = false
features = ["rt-multi-thread"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1"
wasm-bindgen = { version = "0.2" }
wasm-bindgen-futures = "0.4"
serde_json = "1"
web-sys = { version = "0.3", features = ["Headers", "Response", "Request", "RequestInit", "RequestMode", "Window"] }
js-sys = "0.3"
[features]
default = ["persistence"]
http = ["eframe/http"] # Enable if you want to do http requests
persistence = ["eframe/persistence"] # Enable if you want to persist app state on shutdown