-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (50 loc) · 1.71 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
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "heliport"
version = "0.8.1"
edition = "2021"
rust-version = "1.71"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "heliport"
# use lib to be able to compile library from other rust crates
# use cdylib to enable maturin linkage
crate-type = ["lib", "cdylib"]
[workspace]
members = ["heliport-model"]
[profile.release]
lto = "thin"
[build-dependencies]
heliport-model = { path = "heliport-model" }
anyhow = "1.0"
log = { version = "0.4" }
strum = { version = "0.25", features = ["derive"] }
env_logger = "0.10"
[dependencies]
heliport-model = { path = "heliport-model" }
regex = "1.10"
unicode-blocks = "0.1.8"
shingles = "0.1"
ordered-float = "4.2"
log = { version = "0.4" }
env_logger = "0.10"
strum = { version = "0.25", features = ["derive"] }
pyo3 = { version = "0.23", features = ["anyhow"], optional = true }
target = { version = "2.1.0", optional = true }
tempfile = { version = "3", optional = true }
reqwest = { version = "0.12", features = ["stream", "rustls-tls"], optional = true }
tokio = { version = "1", features = ["io-util", "rt-multi-thread", "signal", "macros"], optional = true }
futures-util = { version = "0.3", optional = true }
clap = { version = "4.4", features = ["derive", "wrap_help"], optional = true}
anyhow = "1.0"
rayon = "1.10"
itertools = "0.11"
lazy_static = "1.5"
counter = "0.6.0"
[dev-dependencies]
test-log = "0.2.15"
[features]
# Put log features in default, to allow crates using heli as a library, disable them
default = ["cli", "log/max_level_debug", "log/release_max_level_debug"]
cli = ["python", "dep:clap"]
download = ["dep:tokio", "dep:tempfile", "dep:reqwest", "dep:futures-util", "dep:target"]
python = ["dep:pyo3"]