run-highlighter/Cargo.toml

51 lines
1.3 KiB
TOML
Raw Normal View History

2021-08-12 02:21:51 +00:00
[package]
name = "run-highlighter"
version = "0.1.0"
edition = "2018"
2021-08-12 09:11:35 +00:00
[lib]
name = "runhighlighter"
crate-type = ["cdylib", "rlib"]
2021-08-12 02:21:51 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
2021-08-12 09:11:35 +00:00
eframe = "0.13"
chrono = { version = "0.4", features = ["serde"] }
2021-08-12 02:21:51 +00:00
livesplit = { path = "../livesplit-rs" }
2021-08-12 20:13:25 +00:00
quick-xml = { version = "0.21", features = ["serialize"] }
2021-08-12 02:21:51 +00:00
nom = "6"
url = "2"
toml = "0.5"
2021-08-12 09:11:35 +00:00
futures = "0.3"
itertools = "0.10"
rfd = "0.4"
2021-08-12 20:13:25 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ureq]
version = "2"
2021-08-12 09:11:35 +00:00
default-features = false
2021-08-12 20:13:25 +00:00
features = ["json", "tls"]
2021-08-12 02:21:51 +00:00
[dependencies.serde]
version = "1"
features = ["derive"]
2021-08-12 20:13:25 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
2021-08-12 02:21:51 +00:00
version = "1"
2021-08-12 09:11:35 +00:00
default-features = false
features = ["rt-multi-thread"]
2021-08-12 20:13:25 +00:00
[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"
2021-08-12 09:11:35 +00:00
[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