lib: Move more things to dev-dependencies
This commit is contained in:
parent
1b50452647
commit
0503e4ecbf
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue