cargo fix
This commit is contained in:
parent
c9b3879b6c
commit
5fb847aec6
|
@ -18,11 +18,8 @@ use tokio::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
atem_lib::atem_packet::{self, AtemPacket, COMMAND_CONNECT_HELLO},
|
atem_lib::atem_packet::{AtemPacket, COMMAND_CONNECT_HELLO},
|
||||||
commands::{
|
commands::command_base::{BasicWritableCommand, DeserializedCommand},
|
||||||
command_base::{BasicWritableCommand, DeserializedCommand},
|
|
||||||
parse_commands::deserialize_commands,
|
|
||||||
},
|
|
||||||
enums::ProtocolVersion,
|
enums::ProtocolVersion,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use std::{
|
use std::{
|
||||||
boxed::Box, collections::HashMap, fmt::Debug, process::Command, string::String, sync::Arc,
|
boxed::Box, collections::HashMap, fmt::Debug, string::String, sync::Arc,
|
||||||
vec::Vec,
|
vec::Vec,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use std::{boxed::Box, collections::VecDeque, sync::Arc};
|
use std::{boxed::Box, collections::VecDeque, sync::Arc};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
atem_lib::atem_packet::{AtemPacket, RawFields},
|
atem_lib::atem_packet::RawFields,
|
||||||
commands::device_profile::version::{DESERIALIZE_VERSION_RAW_NAME, deserialize_version},
|
commands::device_profile::version::{DESERIALIZE_VERSION_RAW_NAME, deserialize_version},
|
||||||
enums::ProtocolVersion,
|
enums::ProtocolVersion,
|
||||||
};
|
};
|
||||||
|
|
|
@ -36,7 +36,7 @@ async fn main() {
|
||||||
let (atem_event_tx, atem_event_rx) = tokio::sync::mpsc::unbounded_channel();
|
let (atem_event_tx, atem_event_rx) = tokio::sync::mpsc::unbounded_channel();
|
||||||
let cancel = CancellationToken::new();
|
let cancel = CancellationToken::new();
|
||||||
|
|
||||||
let mut atem_socket = AtemSocket::new(socket_message_rx, atem_event_tx);
|
let atem_socket = AtemSocket::new(socket_message_rx, atem_event_tx);
|
||||||
|
|
||||||
let atem = Arc::new(Atem::new(atem_socket, socket_message_tx));
|
let atem = Arc::new(Atem::new(atem_socket, socket_message_tx));
|
||||||
let atem_thread = atem.clone();
|
let atem_thread = atem.clone();
|
||||||
|
|
Loading…
Reference in New Issue