# 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"
rust-version = "1.88"
name = "rvoip-client"
version = "0.1.0"
authors = ["RVOIP AUTHORS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client-side SDK for mobile / web / desktop / embedded apps that speak the Universal Conversation Transport Protocol (UCTP). Wraps rvoip-uctp + rvoip-sip + rvoip-webrtc behind one Client / SessionHandle / InboundEvent surface."
homepage = "https://github.com/eisenzopf/rvoip"
documentation = "https://docs.rs/rvoip"
readme = "README.md"
keywords = [
    "sip",
    "voip",
    "rtp",
    "communication",
    "telephony",
]
categories = [
    "network-programming",
    "multimedia",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/eisenzopf/rvoip"

[features]
default = ["uctp"]
full = [
    "uctp",
    "sip",
    "webrtc",
]
sip = ["dep:rvoip-sip"]
uctp = ["dep:rvoip-uctp"]
webrtc = ["dep:rvoip-webrtc"]

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rvoip-core-traits]
version = "0.2.0"

[dependencies.rvoip-sip]
version = "0.2.0"
optional = true

[dependencies.rvoip-uctp]
version = "0.1.0"
optional = true

[dependencies.rvoip-webrtc]
version = "0.1.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.36"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.36"
features = [
    "full",
    "macros",
    "rt",
]

[lints.clippy]
absurd_extreme_comparisons = "allow"
approx_constant = "allow"
assertions_on_constants = "allow"
bool_assert_comparison = "allow"
bool_comparison = "allow"
cargo = "allow"
cast_abs_to_unsigned = "allow"
collapsible_else_if = "allow"
comparison_to_empty = "allow"
complexity = "allow"
correctness = "warn"
empty_line_after_doc_comments = "allow"
expect_fun_call = "allow"
explicit_auto_deref = "allow"
items_after_test_module = "allow"
legacy_numeric_constants = "allow"
len_without_is_empty = "allow"
len_zero = "allow"
manual_find = "allow"
match_like_matches_macro = "allow"
module_inception = "allow"
multiple_bound_locations = "allow"
needless_borrows_for_generic_args = "allow"
needless_option_as_deref = "allow"
new_without_default = "allow"
nursery = "allow"
option_as_ref_deref = "allow"
partialeq_to_none = "allow"
pedantic = "allow"
perf = "allow"
redundant_closure = "allow"
redundant_pattern_matching = "allow"
restriction = "allow"
should_implement_trait = "allow"
single_match = "allow"
style = "allow"
suspicious = "warn"
too_many_arguments = "allow"
unnecessary_filter_map = "allow"
unnecessary_get_then_check = "allow"
unnecessary_literal_unwrap = "allow"
useless_conversion = "allow"
useless_vec = "allow"
vec_init_then_push = "allow"

[lints.rust]
ambiguous_glob_reexports = "warn"
async_fn_in_trait = "allow"
dead_code = "warn"
irrefutable_let_patterns = "allow"
mismatched_lifetime_syntaxes = "warn"
unexpected_cfgs = "warn"
unreachable_patterns = "allow"
unused_assignments = "warn"
unused_comparisons = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"
