# 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 = "2021"
name = "jarust"
version = "0.5.0"
authors = ["Hamza Jadid"]
build = 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/Ghamza-Jd/jarust"

[lib]
name = "jarust"
path = "src/lib.rs"
doctest = false

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

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

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

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

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

[dependencies.async-trait]
version = "0.1.77"

[dependencies.bytes]
version = "1.6.0"

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

[dependencies.indexmap]
version = "2.2.6"

[dependencies.jarust_rt]
version = "0.5.0"

[dependencies.jarust_transport]
version = "0.5.0"

[dependencies.rand]
version = "0.8.5"

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

[dependencies.serde_json]
version = "1.0.111"

[dependencies.thiserror]
version = "1.0.51"

[dependencies.tokio]
version = "1.35.1"
features = [
    "sync",
    "time",
    "rt",
]

[dependencies.tracing]
version = "0.1.40"

[dev-dependencies.anyhow]
version = "1.0.82"

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

[dev-dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]
