Driver: Move Bitrate import out of crate root. (#53)

This is a simple organisational change which moves `crate::Bitrate` to `crate::driver::Bitrate` to slightly clean up the crate root.

This has been tested using `cargo make ready`.
This commit is contained in:
Kyle Simpson
2021-04-04 19:41:34 +01:00
parent 1fc3dc2259
commit 1bfee1b989
5 changed files with 5 additions and 9 deletions

View File

@@ -1,10 +1,9 @@
#![allow(missing_docs)]
use crate::{
driver::{connection::error::Error, Config},
driver::{connection::error::Error, Bitrate, Config},
events::EventData,
tracks::Track,
Bitrate,
ConnectionInfo,
};
use flume::Sender;

View File

@@ -3,9 +3,8 @@
use super::{Interconnect, UdpRxMessage, UdpTxMessage, WsMessage};
use crate::{
driver::{Config, CryptoState},
driver::{Bitrate, Config, CryptoState},
tracks::Track,
Bitrate,
};
use flume::Sender;
use xsalsa20poly1305::XSalsa20Poly1305 as Cipher;