edition 2024

This commit is contained in:
2025-06-19 10:08:03 +01:00
parent 3e1ecb0df1
commit aaa8640a96
24 changed files with 52 additions and 23 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
[package]
name = "atem-test"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2024"
[dependencies]
atem-connection-rs = { path = "../atem-connection-rs" }
+6 -2
View File
@@ -69,12 +69,16 @@ async fn main() {
fn setup_logging() -> Result<(), Report> {
if std::env::var("RUST_LIB_BACKTRACE").is_err() {
std::env::set_var("RUST_LIB_BACKTRACE", "1");
unsafe {
std::env::set_var("RUST_LIB_BACKTRACE", "1");
}
}
color_eyre::install()?;
if std::env::var("RUST_LOG").is_err() {
std::env::set_var("RUST_LOG", "debug");
unsafe {
std::env::set_var("RUST_LOG", "debug");
}
}
env_logger::init();