# 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 = "2018"
name = "xiu"
version = "0.13.0"
authors = ["HarlanC <wawacry@qq.com"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A powerful live server by Rust ."
readme = "README.md"
keywords = [
    "rtmp",
    "hls",
    "httpflv",
    "video",
    "streaming",
]
categories = [
    "multimedia",
    "multimedia::video",
    "multimedia::audio",
]
license = "MIT"
repository = "https://github.com/harlanc/xiu"

[lib]
name = "xiu"
path = "src/lib.rs"

[[bin]]
name = "xiu"
path = "src/main.rs"

[dependencies.anyhow]
version = "^1.0"

[dependencies.axum]
version = "0.6.10"

[dependencies.clap]
version = "4.1.4"

[dependencies.commonlib]
version = "0.1.2"

[dependencies.env_logger_extend]
version = "0.1.3"

[dependencies.failure]
version = "0.1.8"

[dependencies.hls]
version = "0.5.5"

[dependencies.httpflv]
version = "0.4.5"

[dependencies.libc]
version = "0.2.139"

[dependencies.log]
version = "0.4.0"

[dependencies.rtmp]
version = "0.6.5"

[dependencies.serde]
version = "1.0.101"
features = ["derive"]
optional = true

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1"
features = [
    "alloc",
    "raw_value",
    "std",
]
default-features = false

[dependencies.streamhub]
version = "0.2.4"

[dependencies.tokio]
version = "1.26.0"
features = ["full"]
default-features = false

[dependencies.tokio-metrics]
version = "0.2.0"
default-features = false

[dependencies.toml]
version = "0.5.8"

[dependencies.xrtsp]
version = "0.3.0"

[dependencies.xwebrtc]
version = "0.3.5"

[features]
default = ["std"]
std = ["serde"]