-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
49 lines (44 loc) · 1.09 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
[package]
name = "bin2ml"
version = "0.4.1"
edition = "2021"
[dependencies]
r2pipe = "0.6.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.60"
clap = { version = "4.0.29", features = ["derive"] }
goblin = { version = "0.6.0", optional = true }
walkdir = "2"
rayon = "1.6"
anyhow = "1.0"
serde_with = "2.2.0"
regex = "1.7.1"
tokenizers = "0.13.2"
rust_search = "2.1.0"
tch = {version = "0.10.3", optional = true}
mimalloc = { version = "*", default-features = false }
indicatif = { version = "0.17.3", features = ["rayon"]}
itertools = "0.10.5"
prettytable = "0.10.0"
serde-aux = "4.2.0"
log = "0.4.19"
env_logger = "0.10.0"
thiserror = "1.0.47"
enum-as-inner = "0.6.0"
ordered-float = { version = "4.2.0", features = ["serde"] }
[dependencies.petgraph]
version = "0.6.2"
features = ["serde-1"]
[features]
inference = ["dep:tch"]
goblin = ["dep:goblin"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(inference)'] }
#https://github.com/johnthagen/min-sized-rust
[profile.release]
lto = true
codegen-units = 1
panic = 'abort'
strip = true
opt-level = 3 # Speed
rpath = true