# 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 = "2024"
rust-version = "1.91"
name = "omni-stream"
version = "0.7.0"
build = false
include = [
    "/src/**/*",
    "/frontend/dist/**/*",
    "/Cargo.toml",
    "/Cargo.lock",
    "/pyproject.toml",
    "/README.md",
    "/README-en.md",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
    "/config.example.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Single-binary streaming storage proxy: axum + tokio + aws-sdk-s3 backend with an embedded React SPA, serving local FS or S3-compatible object storage behind one port."
homepage = "https://github.com/maoXyzt/omni-stream"
documentation = "https://docs.rs/omni-stream"
readme = "README.md"
keywords = [
    "s3",
    "proxy",
    "streaming",
    "axum",
    "storage",
]
categories = [
    "web-programming::http-server",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maoXyzt/omni-stream"

[package.metadata.release]
publish = false
pre-release-commit-message = "release: {{version}}"
tag-message = "release {{version}}"

[[bin]]
name = "omni-stream"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-config]
version = "1"
features = ["behavior-version-latest"]

[dependencies.aws-sdk-s3]
version = "1"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.bytes]
version = "1"

[dependencies.config]
version = "0.15"
features = ["toml"]
default-features = false

[dependencies.directories]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.hostname]
version = "0.4"

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "gif",
    "bmp",
    "tiff",
    "webp",
    "rayon",
]
default-features = false

[dependencies.mime_guess]
version = "2"

[dependencies.nu-ansi-term]
version = "0.50"

[dependencies.rust-embed]
version = "8"
features = ["interpolate-folder-path"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "rt-multi-thread",
    "sync",
    "net",
    "signal",
]

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = [
    "timeout",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.webp]
version = "0.3"
