# 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"
name = "kurrentdb"
version = "1.1.0"
authors = ["Yorick Laupa <yo.eight@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official KurrentDB gRPC client"
readme = "README.md"
keywords = [
    "database",
    "event-sourcing",
    "ddd",
    "cqrs",
    "kurrent",
]
categories = [
    "database",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/kurrent-io/KurrentDB-Client-Rust"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

[dependencies.async-stream]
version = "0.3"

[dependencies.base64]
version = "0.22"

[dependencies.bitflags]
version = "2"

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "serde",
    "now",
]
default-features = false

[dependencies.eyre]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.hyper]
version = "1"
features = ["client"]

[dependencies.hyper-rustls]
version = "0.27"
features = [
    "rustls-native-certs",
    "http2",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "http2",
]

[dependencies.kurrentdb-macros]
version = "0.0.1"

[dependencies.lazy_static]
version = "1"

[dependencies.nom]
version = "7"

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

[dependencies.rand]
version = "0.9"
features = ["small_rng"]

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

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-native-certs]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["time"]
default-features = false

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tonic]
version = "0.13"
features = [
    "tls-aws-lc",
    "tls-native-roots",
]

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

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

[dev-dependencies.ctor]
version = "0.4"

[dev-dependencies.names]
version = "0.14"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.testcontainers]
version = "0.23"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false

[dev-dependencies.toml]
version = "0.8"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "time",
    "tracing-log",
]

[build-dependencies.tonic-build]
version = "0.13"
features = ["prost-build"]
