-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (29 loc) · 1.01 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
[package]
name = "wifi-setup"
version = "0.1.0"
authors = ["Callum Moseley <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.deb]
depends = "$auto, systemd"
extended-description = "Captive portal wifi configuration"
section = "admin"
priority = "optional"
assets = [
["target/release/wifi-setup", "/usr/bin/wifi-setup", "755"],
["debian/wifi-setup.service", "/lib/systemd/system/wifi-setup.service", "644"],
["static/*", "/usr/share/wifi-setup/static/", "644"],
["templates/*", "/usr/share/wifi-setup/templates/", "644"],
["Rocket.toml", "/usr/share/wifi-setup/", "644"],
]
[dependencies]
anyhow = "1.0.53"
rocket = "0.4.10"
regex = "1"
lazy_static = "1.4.0"
reqwest = { version = "0.11.9", features = ["blocking"] }
serde = { version = "1.0.117", features = ["derive"] }
[dependencies.rocket_contrib]
version = "0.4.10"
default-features = false
features = ["serve", "handlebars_templates", "json"]