V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
Showing only changes of commit fc39e3295b - Show all commits

Correctly evaluate access key

red binder 2026-04-12 22:33:02 +02:00

View file

@ -31,10 +31,7 @@ const RNEX_DEFAULT_PORT: u16 = match u16::from_str_radix(env!("RNEX_DEFAULT_PORT
Err(_) => panic!("unable to get default port from env"),
};
const RNEX_ACCESS_KEY: u16 = match u16::from_str_radix(env!("RNEX_ACCESS_KEY"), 10) {
Ok(v) => v,
Err(_) => panic!("unable to get access key from env"),
};
const RNEX_ACCESS_KEY: &'static str = env!("RNEX_ACCESS_KEY");
#[derive(Error, Debug)]
pub enum Error {