# 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 = "edge-tts-rust"
version = "0.1.1"
build = false
exclude = [
    "/target",
    "/tmp",
    "/.direnv",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust client for Microsoft Edge Read Aloud TTS"
homepage = "https://github.com/initsnow/edge-tts-rust"
documentation = "https://docs.rs/edge-tts-rust"
readme = "README.md"
keywords = [
    "tts",
    "edge-tts",
    "speech",
    "audio",
    "async",
]
categories = [
    "api-bindings",
    "multimedia::audio",
]
license = "MIT"
repository = "https://github.com/initsnow/edge-tts-rust"

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

[[bin]]
name = "edge-tts-rust"
path = "src/main.rs"

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

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

[[test]]
name = "live"
path = "tests/live.rs"

[[test]]
name = "protocol"
path = "tests/protocol.rs"

[[bench]]
name = "protocol"
path = "benches/protocol.rs"
harness = false

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

[dependencies.bytes]
version = "1.10"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]

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

[dependencies.http]
version = "1.3"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "brotli",
    "charset",
    "deflate",
    "gzip",
    "http2",
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.45"
features = [
    "fs",
    "io-util",
    "macros",
    "rt-multi-thread",
    "time",
]

[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-webpki-roots"]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.18"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

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