# 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"
name = "ekodb_client"
version = "0.21.0"
authors = ["Sean M. Vazquez <sean.m.vazquez@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust client library for ekoDB - A high-performance database"
documentation = "https://docs.rs/ekodb_client"
readme = "README.md"
keywords = [
    "database",
    "ekodb",
    "client",
    "async",
]
categories = [
    "database",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/ekoDB/ekodb-client"

[features]
default = ["rustls"]
native-tls = [
    "reqwest/native-tls",
    "tokio-tungstenite/native-tls",
    "tokio-tungstenite/connect",
]
rustls = [
    "reqwest/rustls-tls",
    "tokio-tungstenite/rustls-tls-webpki-roots",
    "tokio-tungstenite/connect",
]

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

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

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

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

[dependencies.async-compression]
version = "0.4.42"
features = [
    "tokio",
    "gzip",
]

[dependencies.base64]
version = "0.22.1"

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

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

[dependencies.log]
version = "0.4.32"

[dependencies.regex]
version = "1.12.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "gzip",
    "stream",
]
default-features = false

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.rust_decimal]
version = "1.42.1"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-tungstenite]
version = "0.28"
default-features = false

[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.23.3"
features = [
    "serde",
    "v4",
]

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.mockito]
version = "1.7.2"

[dev-dependencies.tokio-test]
version = "0.4"
