rtci-stream-driver 0.5.0

A socket driver for a sans-I/O WebRTC engine (ICE-TCP, TURN over TCP and TLS, whole peer connections) on an async runtime of your choice
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"
rust-version = "1.89"
name = "rtci-stream-driver"
version = "0.5.0"
authors = ["The rtci authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A socket driver for a sans-I/O WebRTC engine (ICE-TCP, TURN over TCP and TLS, whole peer connections) on an async runtime of your choice"
readme = "README.md"
keywords = [
    "webrtc",
    "tokio",
    "tcp",
    "ice-tcp",
    "turn",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Brainwires/rtci"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "peer",
    "runtime-tokio",
]
dns-records = [
    "runtime-tokio",
    "dep:hickory-resolver",
]
peer = [
    "dep:rtci",
    "dep:bytes",
]
runtime-mock = ["dep:async-task"]
runtime-smol = ["dep:smol"]
runtime-tokio = ["dep:tokio"]

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

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

[[test]]
name = "loopback"
path = "tests/loopback.rs"
required-features = ["runtime-tokio"]

[[test]]
name = "mdns"
path = "tests/mdns.rs"
required-features = [
    "peer",
    "runtime-tokio",
]

[[test]]
name = "mdns_budget"
path = "tests/mdns_budget.rs"
required-features = [
    "peer",
    "runtime-mock",
]

[[test]]
name = "mdns_fail_closed"
path = "tests/mdns_fail_closed.rs"
required-features = [
    "peer",
    "runtime-tokio",
]

[[test]]
name = "mdns_failures"
path = "tests/mdns_failures.rs"
required-features = [
    "peer",
    "runtime-mock",
]

[[test]]
name = "mdns_shutdown"
path = "tests/mdns_shutdown.rs"
required-features = [
    "peer",
    "runtime-mock",
]

[[test]]
name = "mdns_temporary"
path = "tests/mdns_temporary.rs"
required-features = [
    "peer",
    "runtime-tokio",
]

[[test]]
name = "mdns_unavailable"
path = "tests/mdns_unavailable.rs"
required-features = [
    "peer",
    "runtime-tokio",
]

[[test]]
name = "mdns_virtual_time"
path = "tests/mdns_virtual_time.rs"
required-features = [
    "peer",
    "runtime-mock",
]

[[test]]
name = "peer"
path = "tests/peer.rs"
required-features = [
    "peer",
    "runtime-tokio",
]

[[test]]
name = "runtimes"
path = "tests/runtimes.rs"
required-features = [
    "peer",
    "runtime-tokio",
    "runtime-smol",
]

[[test]]
name = "sockets"
path = "tests/sockets.rs"
required-features = ["runtime-tokio"]

[[test]]
name = "virtual_time"
path = "tests/virtual_time.rs"
required-features = [
    "peer",
    "runtime-mock",
]

[dependencies.async-channel]
version = "2.5"

[dependencies.async-task]
version = "4.7"
optional = true

[dependencies.bytes]
version = "1.12.0"
optional = true

[dependencies.hickory-resolver]
version = "0.26.2"
features = [
    "tokio",
    "system-config",
]
optional = true
default-features = false

[dependencies.log]
version = "0.4.33"

[dependencies.rtci]
version = "0.5.0"
optional = true

[dependencies.shared]
version = "0.5.0"
features = ["ifaces"]
default-features = false
package = "rtci-shared"

[dependencies.smol]
version = "2.0"
optional = true

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tokio]
version = "1.52.3"
features = ["full"]
optional = true

[dev-dependencies.env_logger]
version = "0.11.11"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]

[target."cfg(unix)".dependencies.libc]
version = "0.2"