# 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 = "oxvif"
version = "0.7.2"
build = false
exclude = [
    ".env",
    ".env.example",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client library for the ONVIF IP camera protocol"
homepage = "https://github.com/smiti1642/oxvif"
documentation = "https://docs.rs/oxvif"
readme = "README.md"
keywords = [
    "onvif",
    "camera",
    "rtsp",
    "soap",
    "ip-camera",
]
categories = [
    "network-programming",
    "multimedia",
]
license = "MIT"
repository = "https://github.com/smiti1642/oxvif"

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.quick-xml]
version = "0.36"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.sha1]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.dotenvy]
version = "0.15"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]
