# 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 = "leap_client_rs"
version = "0.1.3"
authors = ["Hop Inc."]
build = "build.rs"
description = "Rust client library for the Leap Edge socket service"
homepage = "https://hop.io"
readme = "README.md"
keywords = [
    "hop",
    "leap_edge",
    "client",
    "channels",
    "async",
]
categories = [
    "network-programming",
    "asynchronous",
    "tokio",
]
license = "MPL-2.0"
repository = "https://github.com/hopinc/leap_client_rs#readme"

[dependencies.async-compression]
version = "^0.4"
features = [
    "tokio",
    "zlib",
]
optional = true

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

[dependencies.async-tungstenite]
version = "^0.22"
features = ["tokio-runtime"]
default-features = false

[dependencies.futures]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.log]
version = "^0.4"

[dependencies.serde]
version = "^1.0"
features = ["derive"]

[dependencies.serde_json]
version = "^1.0"

[dependencies.serde_repr]
version = "^0.1"

[dependencies.tokio]
version = "^1.20"
features = [
    "macros",
    "net",
    "time",
    "sync",
    "io-util",
    "rt",
]

[dev-dependencies.fern]
version = "^0.6"

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

[features]
default = [
    "rustls-tls-webpki-roots",
    "zlib",
]
native-tls = ["async-tungstenite/tokio-native-tls"]
rustls-tls-native-roots = ["async-tungstenite/tokio-rustls-native-certs"]
rustls-tls-webpki-roots = ["async-tungstenite/tokio-rustls-webpki-roots"]
zlib = ["async-compression"]
