2022-04-06 08:59:39 -04:00

65 lines
1.6 KiB
TOML

[package]
name = "ytbn_graphing_software"
version = "0.1.0"
edition = "2021"
build = "build.rs"
license = "AGPL-3.0"
repository = "https://github.com/Titaniumtown/YTBN-Graphing-Software"
[lib]
crate-type = ["cdylib"]
[features]
threading = ["async-lock", "rayon"]
[profile.release]
debug = false
codegen-units = 1
opt-level = "z" #optimize for size
lto = true
strip = true
[profile.dev]
debug = true
opt-level = 2
lto = false
[dependencies]
eframe = { git = "https://github.com/Titaniumtown/egui.git", default-features = false }
shadow-rs = { version = "0.11", default-features = false }
const_format = { version = "0.2", default-features = false, features = ["fmt"] }
cfg-if = "1"
exmex = { git = "https://github.com/bertiqwerty/exmex.git", branch = "main", features = [
"partial",
] }
lazy_static = "1.4"
tar = "0.4"
ruzstd = { git = "https://github.com/KillingSpark/zstd-rs.git" }
serde_json = "1.0"
tracing = "0.1"
itertools = "0.10"
static_assertions = "1.1"
phf = "0.10"
[build-dependencies]
shadow-rs = "0.11"
command-run = "1.1"
phf_codegen = "0.10"
itertools = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
instant = { version = "0.1" }
tracing-subscriber = "0.3"
rayon = { git = "https://github.com/rayon-rs/rayon.git", optional = true }
async-lock = { git = "https://github.com/smol-rs/async-lock.git", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = { version = "0.1", features = ["wasm-bindgen"] }
console_error_panic_hook = "0.1"
wee_alloc = "0.4"
wasm-bindgen = { version = "0.2", default-features = false, features = ["std"] }
web-sys = "0.3"
tracing-wasm = "0.2"