-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (39 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "caseformat"
description = "Power flow case data format"
version = "0.1.0"
repository = "https://github.com/caseformat/caseformat_rs"
license = "MIT OR Apache-2.0"
edition = "2021"
[dependencies]
csv = "1.2.2"
serde = { version = "1.0", features = ["derive"] }
validator = { version = "0.16.1", features = ["derive"] }
derive_builder = "0.12"
anyhow = "1"
zip = { version = "0.6", default-features = false, features = [
"deflate",
"time",
] }
time = { version = "0.3", features = ["wasm-bindgen"] }
clap = { version = "4.4", features = ["derive"] }
serde_json = "1"
soa_derive = { version = "0.13", optional = true }
power_flow_data = { version = "0.4", optional = true }
arrayvec = { version = "0.7", optional = true }
pyo3 = { version = "0.19.0", optional = true, features = ["extension-module"] }
[features]
dataset = ["dep:soa_derive"]
raw = ["dep:power_flow_data", "dep:arrayvec"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
tsify = "0.4"
#tsify = { git = "https://github.com/irvingoujAtDevolution/tsify-unit8-array.git", branch = "modyfi", features = ["js"] }
#getrandom = { version = "0.2", features = ["js"] }
console_log = "1"
console_error_panic_hook = "0.1"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "caseformat"
required-features = ["dataset"]