2021-05-28 19:58:40 +10:00
|
|
|
[package]
|
|
|
|
name = "opentally"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Lee Yingtong Li <runassudo@yingtongli.me>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2021-05-30 18:28:39 +10:00
|
|
|
[lib]
|
|
|
|
crate-type = ["lib", "cdylib"]
|
|
|
|
|
2021-10-18 18:06:42 +11:00
|
|
|
[features]
|
|
|
|
default = ["wasm"]
|
|
|
|
wasm = [] # Build default wasm bindings
|
|
|
|
|
2021-05-28 19:58:40 +10:00
|
|
|
[dependencies]
|
2021-10-17 17:00:24 +11:00
|
|
|
anyhow = "1.0.44"
|
2021-10-17 16:34:15 +11:00
|
|
|
csv = "1.1.6"
|
2021-08-05 01:12:53 +10:00
|
|
|
derive_builder = "0.10.2"
|
2021-06-04 22:05:48 +10:00
|
|
|
derive_more = "0.99.14"
|
2021-05-28 22:37:07 +10:00
|
|
|
git-version = "0.3.4"
|
2022-08-20 23:20:42 +10:00
|
|
|
nohash-hasher = "0.2.0"
|
2021-06-04 22:05:48 +10:00
|
|
|
ibig = "0.3.2"
|
2021-06-11 21:22:28 +10:00
|
|
|
itertools = "0.10.1"
|
2021-06-27 17:44:30 +10:00
|
|
|
ndarray = "0.15.3"
|
2021-05-28 19:58:40 +10:00
|
|
|
num-traits = "0.2"
|
2021-09-11 21:08:36 +10:00
|
|
|
predicates = "1.0.8"
|
2021-06-13 03:15:15 +10:00
|
|
|
sha2 = "0.9.5"
|
2022-06-18 22:44:32 +10:00
|
|
|
wasm-bindgen = "0.2.81"
|
2021-05-30 18:28:39 +10:00
|
|
|
|
|
|
|
# Only for WebAssembly - include here for syntax highlighting
|
2021-05-30 23:00:28 +10:00
|
|
|
#[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2021-05-30 18:28:39 +10:00
|
|
|
console_error_panic_hook = "0.1.6"
|
2021-06-02 22:46:36 +10:00
|
|
|
js-sys = "0.3.51"
|
2021-09-11 21:08:36 +10:00
|
|
|
html-escape = "0.2.9"
|
2021-05-30 23:00:28 +10:00
|
|
|
num-bigint = "0.4.0"
|
|
|
|
num-rational = "0.4.0"
|
|
|
|
paste = "1.0.5"
|
2021-05-30 18:28:39 +10:00
|
|
|
|
2021-07-29 03:24:51 +10:00
|
|
|
# For tests/CLI only
|
2021-05-30 18:28:39 +10:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2021-06-12 15:37:41 +10:00
|
|
|
assert_cmd = "1.0.5"
|
2021-05-30 18:28:39 +10:00
|
|
|
flate2 = "1.0"
|
2023-02-01 18:16:12 +11:00
|
|
|
prettytable-rs = "0.10.0"
|
2021-09-02 17:17:45 +10:00
|
|
|
rkyv = "0.7.15"
|
2021-07-29 03:24:51 +10:00
|
|
|
utf8-chars = "1.0.2"
|
2021-06-10 15:47:09 +10:00
|
|
|
xmltree = "0.10.3"
|
2021-05-28 19:58:40 +10:00
|
|
|
|
2021-05-30 18:28:39 +10:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
|
2022-06-18 22:36:00 +10:00
|
|
|
version = "3.2.5"
|
2021-05-28 20:42:01 +10:00
|
|
|
default-features = false
|
|
|
|
features = ["std", "derive"]
|
2021-05-30 03:50:19 +10:00
|
|
|
|
2021-09-02 17:17:45 +10:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rug]
|
|
|
|
version = "1.12"
|
|
|
|
default-features = false
|
|
|
|
features = ["integer", "rational", "float"]
|
|
|
|
|
2021-05-30 03:50:19 +10:00
|
|
|
[profile.test]
|
|
|
|
opt-level = 3
|
2022-08-18 00:15:33 +10:00
|
|
|
|
|
|
|
[profile.perf]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|