-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (41 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
49 lines (41 loc) · 1.56 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
[package]
name = "cubeos-service"
version = "0.4.0"
authors = ["Patrick Oppel <patrick.oppel94@gmail.com>"]
edition = "2018"
[dependencies]
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
log = "^0.4.0"
variant_count = "1.1"
# Pinning this to 0.3.15 due to kubos linux build issues with v0.3.16
pkg-config = "= 0.3.15"
kubos-system = { git = "ssh://git@github.com/Cube-OS/system-api.git"}
bincode = { git = "ssh://git@github.com/Cube-OS/bincode.git"}
udp-rs = { git = "ssh://git@github.com/Cube-OS/udp-rs"}
failure = "0.1.8"
serial = {version = "0.4.0"}
uart-rs = { git = "ssh://git@github.com/Cube-OS/uart-rs"}
# APP activate for nix only
nix = { version = "0.24.1", optional = true}
# Syslog
syslog = { version = "^6.0.1"}
# Database only activate for Database for now
cubeos-telemetry-db = { git = "ssh://git@github.com/Cube-OS/telemetry-db-api", optional = true}
diesel = { version = "1.0.0", features = ["sqlite"], optional = true}
dialoguer = {version = "0.10.2", optional = true}
strum = {version = "0.24", optional = true}
strum_macros = {version = "0.24", optional = true}
terminal-macro = { git = "ssh://git@github.com/Cube-OS/terminal-macro", optional = true}
lazy_static = {version = "1.4.0"}
gpio = { version = "0.4"}
# features enable conditional compiling,
# features cannot be combined in one compilation
[features]
default = []
terminal = ['strum', 'strum_macros', 'dialoguer', 'terminal-macro']
# app = ["dep:lazy_static", "gpio"]
nix = ["dep:nix"]
diesel = ["dep:diesel","dep:cubeos-telemetry-db"]
# all features can be combined with debug
debug = []