-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (69 loc) · 1.86 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "deepdecipher"
version = "0.1.0"
edition = "2021"
default-run = "server"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "deepdecipher"
crate-type = ["cdylib", "rlib"]
[dependencies]
# Web server
actix-web = "4.3.1"
actix-files = "0.6.2"
# Serialization
serde = "1.0.164"
serde_json = "1.0.96"
postcard = { version = "1.0.4", features = ["alloc"] }
# f16
half = { version = "2.2.1", features = ["serde"] }
# Error handling
anyhow = "1.0.71"
thiserror = "1.0.47"
# Scraping
regex = "1.8.4"
# Iterators
itertools = "0.11.0"
# Compression
flate2 = "1.0.26"
# Interfacing with Python
pyo3 = { version = "0.19.1", features = [
"extension-module",
"anyhow",
], optional = true }
numpy = { version = "0.19", optional = true }
# SIGINT handling
ctrlc = { version = "3.2.5", optional = true }
# Logging
log = "0.4.19"
env_logger = "0.10.0"
multi_log = "0.1.2"
log-panics = { version = "2", features = ["with-backtrace"] }
# CLI
clap = { version = "4.3.19", features = ["derive"] }
tokio = { version = "1.28.2", features = [
"rt",
"rt-multi-thread",
"sync",
"fs",
"macros",
] }
reqwest = { version = "0.11.18", default-features = false, features = ["json"] }
ndarray = { version = "0.15.6", features = ["serde"] }
scraper = "0.17.1"
delegate = "0.10.0"
async-trait = "0.1.68"
rusqlite = { version = "0.29.0", features = ["bundled"] }
strum = { version = "0.25.0", features = ["derive"] }
tokio-rusqlite = "0.4.0"
snap = "1.1.0"
zstd = "0.12.3"
utoipa = { version = "3.4.4", features = ["actix_extras"] }
utoipa-redoc = { version = "0.1.0", features = ["actix-web"] }
criterion = { version = "0.5.1", features = ["async_tokio"] }
graphviz-rust = "0.6.6"
[dev-dependencies]
criterion = "0.5.1"
rand = "0.8.5"
[features]
python = ["dep:pyo3", "dep:numpy", "dep:ctrlc", "reqwest/default-tls"]