flake rework, dep updates

This commit is contained in:
Robin Appelman 2024-02-03 16:13:06 +01:00
commit 881c06173b
8 changed files with 738 additions and 521 deletions

View file

@ -66,7 +66,7 @@ impl WifiLister {
#[tokio::main]
async fn main() -> Result<(), MainError> {
let mut env: HashMap<String, String> = dotenv::vars().collect();
let mut env: HashMap<String, String> = dotenvy::vars().collect();
let addr = env.remove("ADDR").ok_or("No ADDR set")?;
let keyfile = env.remove("KEYFILE").ok_or("No KEYFILE set")?;
let pubfile = env.remove("PUBFILE").ok_or("No PUBFILE set")?;
@ -226,7 +226,7 @@ async fn send_update(
mac: String,
update: Update,
) -> Result<(), ClientError> {
let mac = mac.replace(":", "_");
let mac = mac.replace(':', "_");
match update {
Update::New => {
client