dahua-camera-server 0.3.1

axum HTTP, SSE and WebSocket API for the dahua-camera stack
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 = "2021"
rust-version = "1.75"
name = "dahua-camera-server"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "axum HTTP, SSE and WebSocket API for the dahua-camera stack"
homepage = "https://github.com/Zied-bousnina/dahua-camera"
documentation = "https://docs.rs/dahua-camera-server"
readme = "README.md"
keywords = [
    "dahua",
    "camera",
    "axum",
    "sse",
    "websocket",
]
categories = [
    "multimedia::video",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Zied-bousnina/dahua-camera"

[features]
alarms = ["dep:dahua-camera-alarms"]
decode = ["dahua-camera-rtsp/decode"]

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.bytes]
version = "1"

[dependencies.dahua-camera-alarms]
version = "0.3.1"
optional = true

[dependencies.dahua-camera-core]
version = "0.3.1"

[dependencies.dahua-camera-rtsp]
version = "0.3.1"

[dependencies.futures]
version = "0.3"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "fs",
]

[dependencies.tracing]
version = "0.1"