-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
97 lines (87 loc) · 2.3 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
88
89
90
91
92
93
94
95
96
97
[package]
name = "stokepile"
version = "0.2.0"
authors = ["Richo Healey <richo@psych0tik.net>"]
edition = "2018"
description = "Tool for uploading action cam and datalogger footage."
default-run = "server"
[package.metadata.bundle]
name = "stokepile"
identifier = "net.psych0tik.richo.stokepile"
[features]
default = [ "usb" ]
"web" = [
"rocket",
"rocket_contrib",
"diesel",
"diesel-derive-enum",
"diesel_migrations",
"bcrypt",
"rand",
"oauth2",
"serde_urlencoded"
]
"usb" = [
"libusb",
"ptp"
]
[dependencies]
rocket = { version = "0.4.2", optional = true, features = ["tls"] }
rocket_contrib = { version = "0.4.2", optional = true, default_features = false, features = ["handlebars_templates", "json", "serve"] }
diesel = { version = "1.4.3", features = ["postgres", "r2d2", "serde_json", "chrono"], optional = true }
diesel-derive-enum = { version = "0.4.4", optional = true, features = ["postgres"] }
diesel_migrations = { version = "1.4.0", optional = true }
bcrypt = { version = "0.10.1", optional = true }
rand = { version = "0.7.2", optional = true }
oauth2 = { version = "2.0.0", optional = true }
serde_urlencoded = { version = "0.6.1", optional = true }
libusb = { version = "0.3.0", optional = true }
ptp = { git = "https://github.com/richo/rust-ptp", optional = true }
toml = "0.5.5"
clap = "2.33.0"
dotenv = "0.15.0"
serde = { version = "1.0.102", features = ["derive"] }
serde_derive = "1.0.102"
serde_json = "1.0.41"
failure = "0.1.6"
lazy_static = "1.4.0"
chrono = { version = "0.4.9", features = ["serde"] }
regex = "1.3.1"
reqwest = "0.9.22"
log = "0.4.8"
pretty_env_logger = "0.3.1"
hashing-copy = "0.3.0"
tempfile = "3.1.0"
walkdir = "2.2.9"
hex = "0.4.0"
digest = "0.8.1"
sha2 = "0.8.0"
handlebars = "1.1.0"
sendgrid = "0.9.0"
url = "1.7.0"
tus = "0.3.0"
failure_derive = "0.1.6"
filetime = "0.2.7"
rpassword = "4.0.1"
dirs = "2.0.2"
time = "0.2.23"
dropbox-content-hasher = "0.3.0"
lockfile = "0.2.1"
redacted_debug = "0.1.0"
pshovr = "0.1.0"
[[bin]]
name = "server"
path = "src/bin/server.rs"
required-features = ["web"]
[[bin]]
name = "run_migrations"
path = "src/bin/run_migrations.rs"
required-features = ["web"]
[[bin]]
name = "manage-users"
path = "src/bin/manage-users.rs"
required-features = ["web"]
[[bin]]
name = "rigging-cron"
path = "src/bin/rigging-cron.rs"
required-features = ["web"]