lib: Move more things to dev-dependencies

This commit is contained in:
Artemis Tosini 2024-09-05 00:25:16 +00:00
parent 1b50452647
commit 0503e4ecbf
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
4 changed files with 6 additions and 10 deletions

View file

@ -5,16 +5,12 @@ version.workspace = true
[dependencies]
async-tungstenite = { version = "0.27.0", features = ["tokio-rustls-native-certs"] }
base64 = "0.22.1"
color-eyre.workspace = true
dialoguer = "0.11.0"
flate2 = "1.0.33"
futures = "0.3.30"
hex = "0.4.3"
keyvalues-serde.workspace = true
log.workspace = true
protobuf.workspace = true
qrcode = "0.14.1"
rand = "0.8.5"
reqwest = { version = "0.12", features = ["rustls-tls-native-roots"], default-features = false}
rsa = "0.9.6"
@ -23,4 +19,8 @@ tokio = { version = "1.39", features = ["rt", "rt-multi-thread", "macros", "time
vapore-proto.path = "../proto"
[dev-dependencies]
base64 = "0.22.1"
dialoguer = "0.11.0"
env_logger.workspace = true
hex = "0.4.3"
qrcode = "0.14.1"

View file

@ -19,8 +19,6 @@ pub async fn main() -> eyre::Result<()> {
env_logger::init();
color_eyre::install()?;
log::info!("Starting vapored");
let servers = vapore::connection::bootstrap_find_servers().await?;
log::debug!("Found servers: {:?}", servers);

View file

@ -27,8 +27,6 @@ pub async fn main() -> eyre::Result<()> {
env_logger::init();
color_eyre::install()?;
log::info!("Starting vapored");
let servers = vapore::connection::bootstrap_find_servers().await?;
log::debug!("Found servers: {:?}", servers);

View file

@ -28,7 +28,7 @@ use crate::message::{CMProtoBufMessage, CMRawProtoBufMessage};
const CHANNEL_CAPACITY: usize = 16;
#[derive(Debug, Deserialize)]
struct CMServerEntry<'a> {
pub struct CMServerEntry<'a> {
endpoint: &'a str,
legacy_endpoint: &'a str,
#[serde(rename = "type")]
@ -40,7 +40,7 @@ struct CMServerEntry<'a> {
}
#[derive(Debug, Deserialize)]
struct GetCMListForConnectResponse<'a> {
pub struct GetCMListForConnectResponse<'a> {
serverlist: BTreeMap<u32, CMServerEntry<'a>>,
success: u32,
message: &'a str,