-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
88 lines (75 loc) · 1.91 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
87
[workspace]
resolver = "2"
members = ["crates/*"]
default-members = ["crates/*"]
[workspace.dependencies]
anyhow = "1.0.81"
chrono = { version = "0.4", features = ["serde", "alloc"] }
polars = { version = "0.36.2", features = [
"serde",
"serde-lazy",
"object",
"sql",
"lazy",
"docs-selection",
] }
serde_derive = "*"
serde = { version = "*", features = ["derive"] }
serde_json = "*"
serde_path_to_error = "0.1"
reqwest = { version = "*", features = [
"json",
"cookies",
"brotli",
"gzip",
"deflate",
"stream",
] }
# tokio web service
prost = "0.12"
prost-types = "0.12"
tokio = { version = "1", features = [
"full",
"rt-multi-thread",
"macros",
"sync",
"time",
] }
tokio-stream = "0.1"
async-stream = "0.3.5"
axum = { version = "0.7.5", features = ["json", "ws", "http2", "macros"] }
axum-extra = { version = "0.9.3", features = [
"query",
"erased-json",
"json-lines",
"typed-routing",
"protobuf",
] }
axum-htmx = "0.5.0"
tonic = { version = "0.11", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
hyper = { version = "1.2.0", features = ["full"] }
askama = { version = "0.12.1", features = ["serde-json", "markdown"] }
askama_axum = "0.4.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
regex = { version = "1.9.5", features = ["perf", "unicode"] }
convert_case = "0.6.0"
lopdf = { version = "0.32.0", features = ["serde", "pom_parser", "nom_parser"] }
pdf-extract = "0.7.2"
fast_symspell = "0.1.7"
# tch = "0.13.0"
# rust-bert = { version = "0.21.0", features = ["download-libtorch"] }
# torch-sys = { version = "0.13.0", features = [
# "download-libtorch",
# "serde",
# "serde_json",
# ] }
structopt = { version = "0.3.26", features = ["color", "suggestions"] }
glob = "0.3.1"
rand = "0.8.5"
query_map = { version = "0.7.0", features = ["url-query"] }
sled = "0.34.7"
ryaspeller = "*"
# kalosm = "0.2.1"
# kalosm-ocr = "0.2.1"