# 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 = "2018"
name = "aerospike"
version = "2.0.0-alpha.9"
authors = [
    "Khosrow Afroozeh <khosrow@aerospike.com>",
    "Jan Hecking <jhecking@aerospike.com>",
]
build = false
exclude = [
    ".travis.yml",
    ".travis/*",
    ".appveyor.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aerospike Client for Rust"
homepage = "https://www.aerospike.com/"
documentation = "https://docs.rs/aerospike/"
readme = "README.md"
keywords = [
    "aerospike",
    "nosql",
    "distributed",
    "database",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/aerospike/aerospike-client-rust/"

[badges.appveyor]
repository = "aerospike/aerospike-client-rust"

[badges.travis-ci]
repository = "aerospike/aerospike-client-rust"

[features]
async = ["aerospike-core"]
default = [
    "async",
    "serialization",
    "rt-tokio",
    "tls",
]
rt-async-std = [
    "aerospike-core/rt-async-std",
    "aerospike-macro/rt-async-std",
]
rt-tokio = [
    "aerospike-core/rt-tokio",
    "aerospike-macro/rt-tokio",
]
serialization = ["aerospike-core/serialization"]
sync = ["aerospike-sync"]
tls = ["aerospike-core/tls"]

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

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

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

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

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

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

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

[[bench]]
name = "client_server"
path = "benches/client_server.rs"
harness = false

[dependencies.aerospike-core]
version = "2.0.0-alpha.9"
optional = true

[dependencies.aerospike-macro]
version = "2.0.0-alpha.9"
optional = true

[dependencies.aerospike-sync]
version = "2.0.0-alpha.9"
optional = true

[dev-dependencies.bencher]
version = "0.1"

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

[dev-dependencies.futures]
version = "0.3.16"

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

[dev-dependencies.lazy_static]
version = "1.4"

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.proptest]
version = "1.6.0"

[dev-dependencies.rand]
version = "0.7"

[dev-dependencies.ripemd]
version = "0.1"

[dev-dependencies.rustls]
version = "0.23.31"

[dev-dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.tokio-rustls]
version = "0.26.0"

[dev-dependencies.webpki-roots]
version = "1"
