Documentation
# 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"
name = "hang"
version = "0.13.1"
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"

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

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

[dependencies.buf-list]
version = "1"

[dependencies.bytes]
version = "1"

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

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.lazy_static]
version = "1"

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

[dev-dependencies.moq-native]
version = "0.12"