fswtch 0.1.2

Rust bindings and helpers for writing FreeSWITCH modules
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 = "fswtch"
version = "0.1.2"
authors = ["Yehor Smoliakov <egorsmkv@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings and helpers for writing FreeSWITCH modules"
readme = "README.md"
license = "MIT"
repository = "https://github.com/RustedBytes/fswtch"

[features]
bindgen = ["fswtch-sys/bindgen"]
bundled = ["fswtch-sys/bundled"]
default = []

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

[[example]]
name = "mod_api_suite"
crate-type = ["cdylib"]
path = "examples/mod_api_suite.rs"

[[example]]
name = "mod_hello"
crate-type = ["cdylib"]
path = "examples/mod_hello.rs"

[[example]]
name = "mod_lifecycle"
crate-type = ["cdylib"]
path = "examples/mod_lifecycle.rs"

[[example]]
name = "mod_registration_check"
crate-type = ["cdylib"]
path = "examples/mod_registration_check.rs"

[[example]]
name = "mod_remote_vad"
crate-type = ["cdylib"]
path = "examples/mod_remote_vad.rs"

[[example]]
name = "mod_stream_tools"
crate-type = ["cdylib"]
path = "examples/mod_stream_tools.rs"

[dependencies.fswtch-sys]
version = "0.1.1"

[dev-dependencies.futures-util]
version = "0.3"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
]

[dev-dependencies.tokio-tungstenite]
version = "0.26"
features = ["native-tls"]

[lints.clippy]
missing_safety_doc = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"