edition 2024
This commit is contained in:
@@ -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" }
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user