-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (34 loc) · 1012 Bytes
/
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
[package]
name = "spoilers"
description = "High-level Rust bindings for CTranslate2"
edition = "2021"
license = "GPL-2.0-or-later"
repository = "https://github.com/Sicheng-Pan/spoilers"
version = "0.1.1"
[[bin]]
name = "spoilers"
required-features = [ "app" ]
[build-dependencies]
cmake = { version = "0", optional = true }
cxx-build = "1"
[dependencies]
anyhow = "1"
cxx = "1"
eframe = { version = "0", features = [ "persistence" ], optional = true }
egui = { version = "0", optional = true }
egui_commonmark = { version = "0", optional = true }
ocrs = { version = "0", optional = true }
once_cell = "1"
rten = { version = "0", optional = true }
serde = { version = "1", features = [ "derive" ] }
strum = { version = "0", features = [ "derive" ] }
text-splitter = { version = "0", features = [ "tokenizers" ] }
tokenizers = "0"
toml = "0"
xcap = { version = "0", optional = true }
[features]
app = [ "eframe", "egui", "egui_commonmark" ]
static = [ "cmake" ]
[profile.release]
lto = "thin"
opt-level = "s"