-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
84 lines (72 loc) · 2.22 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
[package]
name = "personal_search"
version = "0.1.0"
authors = ["becker <github@deathbyescalator.com>"]
edition = "2018"
[features]
ml = ["rust-bert"]
brave = []
niced = ["iced", "iced_native", "webbrowser"]
sync = [ "rusqlite", "tempfile", "rayon"]
server = [ "tokio", "actix-web","actix-cors", "actix-files", "actix-service", "futures", "env_logger", "json"]
static = ["actix-web-static-files"]
toolkit = ["termimad", "html2md"]
[dependencies]
rand = '*'
actix-cors = { version = "0.4.1", optional = true }
actix-files = { version = "0.4.0", optional = true }
actix-service = { version = "1", optional = true }
actix-web = { version = "3", optional = true }
actix-web-static-files = {version="*", optional=true}
env_logger = { version = "0.7", optional = true }
futures = { version = "0.3.1", optional = true }
html2md = {version="*", optional=true}
json = { version = "0.12", optional = true }
rusqlite = { version = "*", optional = true, features= ["bundled","chrono","unlock_notify"] }
rust-bert = { version = "*", optional = true }
tempfile = { version="*", optional = true}
termimad = {version="*", optional=true}
tokio = { version="*", optional = true, features=["rt"] }
rayon = { version="*", optional=true}
brotli = "*"
chrono = "*"
dirs = "*"
glob = "*"
lazy_static = "*"
md5 = { version = "*"}
probabilistic-collections = { version = "*", features = ["serde"] }
select = "*"
serde = { version = "1", features = ["derive"]}
serde_json = { version = "1" }
structopt = "*"
tantivy = "0.15"
toml = "*"
triple_accel = { version = "*" }
ureq = "2.1.1"
url = "*"
iced = {version = "0.3", optional=true}
iced_native = {version="*", optional=true}
webbrowser = {version="*", optional=true}
[[bin]]
name = "niced"
path = "src/bin/niced/main.rs"
features = ["sync", "niced", "server" ]
default = ["sync", "niced", "server" ]
[[bin]]
name = "chrome_sync"
path = "src/bin/chrome_sync/main.rs"
features = ["sync", "ml"]
default= ["sync"]
[[bin]]
name = "firefox_sync"
path = "src/bin/firefox_sync/main.rs"
features = ["sync", "ml"]
default =["sync"]
[[bin]]
name = "server"
path = "src/bin/server/main.rs"
features = ["server", "static"]
[server.package]
build = "build.rs"
[build-dependencies]
actix-web-static-files = {version="*", optional=true}