# 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 = "soft-serve" version = "0.0.8" description = "Easily serve your filesystem." readme = "README.md" license = "MIT" repository = "https://github.com/tsar-boomba/soft-serve" [profile.release] lto = true codegen-units = 1 [[bin]] name = "sfs" path = "src/main.rs" required-features = ["cli"] [dependencies.async-tftp] version = "0.3.6" optional = true [dependencies.clap] version = "4.5.4" features = ["derive"] optional = true [dependencies.color-eyre] version = "0.6.3" [dependencies.http-body-util] version = "0.1.1" optional = true [dependencies.hyper] version = "1.3.1" features = [ "server", "http1", "http2", ] optional = true [dependencies.hyper-util] version = "0.1.3" features = [ "tokio", "server", "server-auto", ] optional = true [dependencies.libunftp] version = "0.19.1" optional = true [dependencies.mime_guess] version = "2.0.4" optional = true default-features = false [dependencies.tokio] version = "1.37.0" features = [ "sync", "rt-multi-thread", "macros", "fs", ] [dependencies.tokio-stream] version = "0.1.15" optional = true [dependencies.tokio-util] version = "0.7.10" features = ["io"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] optional = true [dependencies.unftp-sbe-fs] version = "0.2.4" optional = true [features] cli = [ "clap", "tracing-subscriber", "http", "ftp", ] default = ["cli"] ftp = [ "libunftp", "unftp-sbe-fs", "async-tftp", ] http = [ "hyper", "hyper-util", "http-body-util", "tokio-stream", "tokio-util", "mime_guess", ]