-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (64 loc) · 2.33 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
[package]
name = "rspi-bios"
version = "1.0.0-dev"
authors = ["Piotr Placzek <[email protected]>"]
edition = "2021"
rust-version = "1.74"
description = "Raspberry Pi dashboard that mimics the style of old BIOS designs."
repository = "https://github.com/piotrpdev/rspi-bios"
license = "GPL-3.0"
keywords = ["rust", "raspberry-pi", "sse", "bios", "axum"]
categories = ["command-line-utilities"]
publish = false
[package.metadata.deb]
license-file = ["LICENSE", "0"]
extended-description = """\
Raspberry Pi dashboard that mimics the style of old BIOS designs.
- Served by a Rust-powered web server
- Displays real system data from the Raspberry Pi
- Implements Server-Sent Events (SSE) for real-time updates
- Uses templating for HTML generation
- Mimics old BIOS designs
- Served over HTTPS"""
section = "web"
maintainer-scripts = "debian/"
systemd-units = { enable = false }
assets = [
["target/release/rspi-bios", "usr/bin/", "755"],
["README.md", "usr/share/doc/rspi-bios/README", "644"],
["templates/index.html", "usr/share/rspi-bios/html/index.html", "644"],
["certs/.placeholder", "etc/rspi-bios/certs/.placeholder", "644"],
]
[dependencies]
askama = { version = "0.12.1", default-features = false, features = ["config"] }
axum = { version = "0.7.5", default-features = false, features = ["tokio", "http1"] }
axum-server = { version = "0.7.1", features = ["tls-rustls"] }
clap = { version = "4.5.17", features = ["derive"]}
sysinfo = { version = "0.31.2", default-features = false, features = ["disk", "network", "system", "multithread"] }
tokio = { version = "1.4.0", features = ["rt-multi-thread", "signal"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tower-http = { version = "0.5.0", features = ["trace"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
[lints.rust]
unsafe_code = "forbid"
unused_imports = "deny"
unused_variables = "deny"
unused_must_use = "deny"
dead_code = "warn"
missing_docs = "deny"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
redundant_pub_crate = "allow"
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
unreachable = "deny"
todo = "deny"
unimplemented = "deny"
await_holding_lock = "deny"
indexing_slicing = "deny"
float_cmp = "deny"
modulo_one = "deny"