[package]
edition = "2021"
name = "jarust_interface"
version = "1.9.0"
authors = ["Hamza Jadid"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A janus client SDK in Rust"
readme = "README.md"
keywords = [
"janus",
"webrtc",
"janus-gateway",
"async",
]
categories = [
"network-programming",
"asynchronous",
"concurrency",
]
license = "Apache-2.0"
repository = "https://github.com/Proximie/jarust"
resolver = "3"
[features]
default = [
"use-native-tls",
"tokio-rt",
]
socketio = ["dep:rust_socketio"]
tokio-rt = ["jarust_rt/tokio-rt"]
use-native-tls = ["tokio-tungstenite/native-tls"]
use-rustls = [
"rustls",
"rustls-native-certs",
"tokio-tungstenite/__rustls-tls",
]
[lib]
name = "jarust_interface"
path = "src/lib.rs"
doctest = false
[dependencies.async-trait]
version = "0.1.89"
[dependencies.bytes]
version = "1.11.1"
[dependencies.futures-util]
version = "0.3.32"
[dependencies.indexmap]
version = "2.13.0"
[dependencies.jarust_rt]
version = "1.9.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.reqwest]
version = "0.13.2"
features = ["json"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "1.0.69"
[dependencies.tokio]
version = "1.49.0"
features = [
"sync",
"time",
"rt",
]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.tokio]
version = "1.49.0"
features = ["macros"]
[target.'cfg(not(target_family = "wasm"))'.dependencies.rust_socketio]
version = "0.6.0"
features = ["async"]
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.rustls]
version = "0.23.20"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.rustls-native-certs]
version = "0.8.1"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio-tungstenite]
version = "0.28.0"
[target.'cfg(not(target_family = "wasm"))'.dependencies.uuid]
version = "1.21.0"
features = [
"fast-rng",
"v4",
]
[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
version = "0.2.12"
features = ["js"]
[target.'cfg(target_family = "wasm")'.dependencies.tokio-tungstenite-wasm]
version = "0.8.2"
[target.'cfg(target_family = "wasm")'.dependencies.uuid]
version = "1.21.0"
features = [
"fast-rng",
"v4",
"js",
]