OpenTally/Cargo.toml

55 lines
1.3 KiB
TOML
Raw Normal View History

2021-05-28 11:58:40 +02:00
[package]
name = "opentally"
version = "0.1.0"
authors = ["Lee Yingtong Li <runassudo@yingtongli.me>"]
edition = "2018"
2021-05-30 10:28:39 +02:00
[lib]
crate-type = ["lib", "cdylib"]
2021-05-28 11:58:40 +02:00
[dependencies]
2021-10-17 07:34:15 +02:00
csv = "1.1.6"
derive_builder = "0.10.2"
2021-06-04 14:05:48 +02:00
derive_more = "0.99.14"
2021-05-28 14:37:07 +02:00
git-version = "0.3.4"
2021-06-04 14:05:48 +02:00
ibig = "0.3.2"
2021-06-11 13:22:28 +02:00
itertools = "0.10.1"
ndarray = "0.15.3"
2021-05-28 11:58:40 +02:00
num-traits = "0.2"
2021-09-11 13:08:36 +02:00
predicates = "1.0.8"
2021-06-12 19:15:15 +02:00
sha2 = "0.9.5"
2021-09-11 13:08:36 +02:00
wasm-bindgen = "=0.2.74" # 0.2.77 causes "remaining data" error
2021-05-30 10:28:39 +02:00
# Only for WebAssembly - include here for syntax highlighting
#[target.'cfg(target_arch = "wasm32")'.dependencies]
2021-05-30 10:28:39 +02:00
console_error_panic_hook = "0.1.6"
2021-06-02 14:46:36 +02:00
js-sys = "0.3.51"
2021-09-11 13:08:36 +02:00
html-escape = "0.2.9"
num-bigint = "0.4.0"
num-rational = "0.4.0"
paste = "1.0.5"
2021-05-30 10:28:39 +02:00
2021-07-28 19:24:51 +02:00
# For tests/CLI only
2021-05-30 10:28:39 +02:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2021-06-12 07:37:41 +02:00
assert_cmd = "1.0.5"
2021-05-30 10:28:39 +02:00
flate2 = "1.0"
2021-09-11 10:42:15 +02:00
prettytable-rs = "0.8.0"
2021-09-02 09:17:45 +02:00
rkyv = "0.7.15"
2021-07-28 19:24:51 +02:00
utf8-chars = "1.0.2"
2021-06-10 07:47:09 +02:00
xmltree = "0.10.3"
2021-05-28 11:58:40 +02:00
2021-05-30 10:28:39 +02:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
2021-09-02 09:17:45 +02:00
#version = "3.0.0-beta.4" # proc-macro2 version conflict with rkyv
git = "https://github.com/clap-rs/clap"
branch = "master"
default-features = false
features = ["std", "derive"]
2021-09-02 09:17:45 +02:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rug]
version = "1.12"
default-features = false
features = ["integer", "rational", "float"]
[profile.test]
opt-level = 3