# 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.85"
name = "hang"
version = "0.16.0"
authors = ["Luke Curley <kixelated@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Media over QUIC"
readme = "README.md"
keywords = [
    "quic",
    "http3",
    "webtransport",
    "media",
    "live",
]
categories = [
    "multimedia",
    "network-programming",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/moq-dev/moq"
resolver = "2"

[lib]
name = "hang"
path = "src/lib.rs"
doctest = false

[[example]]
name = "subscribe"
path = "examples/subscribe.rs"

[[example]]
name = "video"
path = "examples/video.rs"

[dependencies.bytes]
version = "1"

[dependencies.derive_more]
version = "2"
features = [
    "from",
    "display",
    "debug",
]

[dependencies.hex]
version = "0.4"

[dependencies.lazy_static]
version = "1"

[dependencies.moq-lite]
version = "0.16"
features = ["serde"]

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = [
    "base64",
    "hex",
]

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "fs",
]

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.url]
version = "2"
