init commit

This commit is contained in:
Breadway 2026-07-22 12:03:32 +08:00
commit 0423d83311
16 changed files with 2581 additions and 0 deletions

30
Cargo.toml Normal file
View file

@ -0,0 +1,30 @@
[package]
name = "crustd"
version = "0.1.0"
edition = "2021"
description = "Tiered, power-efficient presence detection daemon for Bread"
license = "MIT"
[[bin]]
name = "crustd"
path = "src/main.rs"
[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "net", "time", "macros", "signal", "sync", "io-util"] }
v4l = "0.14"
ort = { version = "2.0.0-rc.12", default-features = false, features = ["std", "download-binaries", "tls-native", "copy-dylibs"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
directories = "5"
wayland-client = "0.31"
wayland-protocols = { version = "0.32", features = ["client", "staging"] }
[profile.release]
opt-level = 2
lto = true
codegen-units = 1
strip = true