-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
77 lines (68 loc) · 2.16 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
[workspace]
members = ["crates/learner", "crates/learnerd", "crates/sdk"]
resolver = "2"
[workspace.package]
authors = ["Colin Roberts"]
edition = "2021"
keywords = ["learning", "research", "automation", "papers"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/autoparallel/learner"
[workspace.dependencies]
# local
learner = { path = "crates/learner", version = "=0.9.1" }
# shared dependencies
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = { version = "2.0" }
tokio = { version = "1.41", features = [
"rt",
"rt-multi-thread",
"macros",
"fs",
"io-util",
"signal",
] }
tracing = { version = "0.1" }
# learner dependencies
async-trait = { version = "0.1" }
dirs = { version = "5.0" }
futures = { version = "0.3.31" }
lazy_static = { version = "1.5" }
lopdf = { version = "0.34" }
quick-xml = { version = "0.37", features = ["serialize"] }
regex = { version = "1.11" }
reqwest = { version = "0.12", features = [
"json",
"rustls-tls",
], default-features = false }
rusqlite = { version = "0.32", features = ["bundled", "functions", "chrono"] }
serde_json = { version = "1.0" }
tokio-rusqlite = { version = "0.6" }
toml = { version = "0.8" }
## TUI dependencies
crossterm = { version = "0.28" }
ratatui = { version = "0.29" }
# learnerd dependencies
clap = { version = "4.5", features = ["derive", "std"] }
clap_complete = { version = "4.5" }
console = { version = "0.15" }
dialoguer = { version = "0.11" }
glob = { version = "0.3" }
nix = { version = "0.29.0", features = ["signal"] }
tracing-appender = { version = "0.2" }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# dev only
anyhow = { version = "1.0" }
assert_cmd = { version = "2.0" }
predicates = { version = "3.1" }
serial_test = { version = "3.1" }
tempfile = { version = "3.13" }
tokio-test = { version = "0.4" }
tracing-test = { version = "0.2", features = ["no-env-filter"] }
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true