# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wsvc" version = "0.1.9" authors = ["Reverier-Xu "] description = "WebSocket Simple Version Control tool." homepage = "https://github.com/ret2shell/wsvc" documentation = "https://docs.rs/wsvc" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/ret2shell/wsvc" [[bin]] name = "wsvc" required-features = ["cli"] [dependencies.anyhow] version = "1.0" [dependencies.async-recursion] version = "1.0" [dependencies.async-trait] version = "0.1" [dependencies.axum] version = "0.6" features = [ "headers", "ws", "http2", "multipart", "macros", ] optional = true [dependencies.blake3] version = "1.5" [dependencies.bytes] version = "1.5" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4.4" features = ["derive"] optional = true [dependencies.colored] version = "2.0" optional = true [dependencies.dirs] version = "5.0" optional = true [dependencies.futures] version = "0.3" [dependencies.hyper] version = "0.14" features = ["full"] optional = true [dependencies.indicatif] version = "0.17" features = ["tokio"] optional = true [dependencies.merge] version = "0.1" optional = true [dependencies.miniz_oxide] version = "0.7" [dependencies.nanoid] version = "0.4" [dependencies.once_cell] version = "1.18" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.34" features = ["full"] [dependencies.tokio-stream] version = "0.1" [dependencies.tokio-tungstenite] version = "0.20" features = ["rustls-tls-native-roots"] optional = true [dependencies.tokio-util] version = "0.7" features = ["io"] [dependencies.toml] version = "0.8" [dependencies.tower] version = "0.4" optional = true [dependencies.tower-http] version = "0.4" features = ["trace"] optional = true [dependencies.tracing] version = "0.1" optional = true [features] all = [ "cli", "server", ] cli = [ "dep:once_cell", "dep:clap", "dep:tokio-tungstenite", "dep:colored", "dep:dirs", "dep:merge", "dep:indicatif", ] default = ["all"] server = [ "dep:axum", "dep:hyper", "dep:tower", "dep:tower-http", "dep:tracing", ]