# 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.70"
name = "freeswitch-types"
version = "0.16.0"
authors = ["Jérôme Poulin <jeromepoulin@gmail.com>"]
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FreeSWITCH protocol types: channel state, events, commands, variables"
documentation = "https://docs.rs/freeswitch-types"
readme = "README.md"
keywords = [
    "freeswitch",
    "esl",
    "voip",
    "telephony",
    "types",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ticpu/freeswitch-esl-tokio"

[features]
conference-info = [
    "dep:quick-xml",
    "serde",
]
default = ["serde"]
serde = [
    "dep:serde",
    "indexmap/serde",
]

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

[dependencies.indexmap]
version = "2"

[dependencies.percent-encoding]
version = "2"

[dependencies.quick-xml]
version = "0.39"
features = ["serialize"]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.quick-xml]
version = "0.39"
features = ["serialize"]

[dev-dependencies.serde_json]
version = "1.0"
