librice 0.3.0

ICE (RFC8445) implementation
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.85.0"
name = "librice"
version = "0.3.0"
authors = ["Matthew Waters <matthew@centricular.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ICE (RFC8445) implementation"
documentation = "https://docs.rs/librice"
readme = "README.md"
keywords = [
    "STUN",
    "ICE",
]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ystreet/librice"
resolver = "2"

[features]
default = [
    "runtime-smol",
    "runtime-tokio",
]
runtime-smol = [
    "dep:smol",
    "dep:async-io",
]
runtime-tokio = ["dep:tokio"]

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

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

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

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

[dependencies.async-io]
version = "2"
optional = true

[dependencies.byteorder]
version = "1"
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.futures-timer]
version = "3"

[dependencies.if-addrs]
version = "0.15"

[dependencies.rand]
version = "0.9"
features = ["os_rng"]
default-features = false

[dependencies.rice-c]
version = "0.3.0"

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

[dependencies.tokio]
version = "1"
features = [
    "net",
    "time",
    "rt-multi-thread",
]
optional = true

[dependencies.tracing]
version = "0.1"
features = ["attributes"]
default-features = false

[dependencies.tracing-futures]
version = "0.2"
features = [
    "std",
    "std-future",
    "futures-03",
]
default-features = false

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

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.stun-proto]
version = "2.0.0"
default-features = false

[dev-dependencies.turn-server-proto]
version = "0.6.0"
features = ["std"]
default-features = false