# 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.83"
name = "asterisk-rs-ami"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for the Asterisk Manager Interface (AMI)"
readme = "README.md"
keywords = [
    "asterisk",
    "voip",
    "telephony",
    "pbx",
    "sip",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/deadcode-walker/asterisk-rs"

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

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

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

[dependencies.asterisk-rs-core]
version = "0.2.1"

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
default-features = false

[dependencies.md-5]
version = "0.10"

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "net",
    "sync",
    "time",
    "io-util",
    "macros",
    "rt",
]

[dependencies.tokio-util]
version = "0.7"
features = [
    "codec",
    "codec",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.clippy]
enum_glob_use = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"
