-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
111 lines (104 loc) · 3.35 KB
/
Copy pathCargo.toml
File metadata and controls
111 lines (104 loc) · 3.35 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[package]
authors = ["Fabrice Desré <fabrice@desre.org>"]
edition = "2018"
license = "Apache-2.0"
name = "daemon"
version = "3.5.1"
[[bin]]
name = "api-daemon"
path = "src/main.rs"
[features]
default = [
"apps-service",
"audiovolumemanager-service",
# "breakpad",
"contacts-service",
"devicecapability-service",
"geckobridge-service",
"libsignal-service",
"powermanager-service",
"procmanager-service",
"tcpsocket-service",
"settings-service",
"time-service",
"virtual-host",
]
# Enable the apps service
apps-service = ["apps_service"]
# Enable audio volume mainnager
audiovolumemanager-service = ["audiovolume_service"]
# Enable the breakpad.
breakpad = ["breakpad_sys"]
# Enable the contacts service.
contacts-service = ["contacts_service"]
# Enable daemonize
daemon = ["daemonize"]
# Enable the device capability service.
devicecapability-service = ["devicecapability_service"]
# Enable the Gecko Bridge service
geckobridge-service = ["geckobridge"]
# Enable the libsignal protocol service.
libsignal-service = ["libsignal_service"]
# Enable the powermanager service.
powermanager-service = ["powermanager_service"]
# Enable the procmanager service
procmanager-service = ["procmanager_service"]
# Enable the tcpsocket service.
tcpsocket-service = ["tcpsocket_service"]
# Enable the telephony service.
settings-service = ["settings_service"]
# Enable the time service.
time-service = ["time_service"]
# Enable the vhost http server
virtual-host = ["vhost_server"]
[dependencies]
actix = "0.12"
actix-cors = "0.6"
actix-http = "3.0"
actix-rt = "2.6"
actix-web = "4.0"
actix-web-actors = "4.0"
apps_service = {path = "../services/apps", optional = true}
async-std = "1.6"
audiovolume_service = {path = "../services/audiovolumemanager", optional = true}
bincode = "1.3"
breakpad_sys = {git = "ssh://git@git.kaiostech.com/KaiOS/breakpad-sys.git", branch = "update-bindgen", optional = true}
common = {path = "../common"}
contacts_service = {path = "../services/contacts", optional = true}
daemonize = {version = "0.4.1", optional = true}
devicecapability_service = {path = "../services/devicecapability", optional = true}
flate2 = "1.0"
futures-core = "0.3"
futures-util = "0.3"
geckobridge = {path = "../services/geckobridge", optional = true}
libsignal_service = {path = "../services/libsignal", optional = true}
log = "0.4"
mime_guess = "2.0"
nix = "0.19"
parking_lot = "0.12"
powermanager_service = {path = "../services/powermanager", optional = true}
procmanager_service = {path = "../services/procmanager", optional = true}
reqwest = {version = "0.11", default-features = false, features = ["blocking", "rustls-tls"]}
rusty-s3 = "0.2"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
settings_service = {path = "../services/settings", optional = true}
signal-hook = "0.3"
tcpsocket_service = {path = "../services/tcpsocket", optional = true}
thiserror = "1.0"
time_service = {path = "../services/time", optional = true}
toml = "0.4"
vhost_server = {path = "../vhost", optional = true}
[target.'cfg(not(target_os = "android"))'.dependencies]
env_logger = "0.8"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"
android_utils = {path = "../support/android-utils"}
[dev-dependencies]
actix-web-actors = "4.0"
futures-util = "0.3"
rand = "*"
reqwest = {version = "0.11", default-features = false, features = ["blocking", "rustls-tls"]}
[build-dependencies]
vergen = "3.0"