hyperdb-api-core 0.1.0

Internal implementation details for hyperdb-api. Not a stable API; use hyperdb-api instead.
Documentation
# 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.81"
name = "hyperdb-api-core"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal implementation details for hyperdb-api. Not a stable API; use hyperdb-api instead."
homepage = "https://github.com/tableau/hyper-api-rust"
readme = "README.md"
keywords = [
    "database",
    "hyper",
    "tableau",
    "postgres",
    "internal",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tableau/hyper-api-rust"

[features]
default = []
salesforce-auth = [
    "dep:hyperdb-api-salesforce",
    "dep:arrow",
]

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

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

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

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

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

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

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

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

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

[dependencies.arrow]
version = "58.0"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1.5"

[dependencies.chrono]
version = "0.4"

[dependencies.geo-types]
version = "0.7"

[dependencies.geozero]
version = "0.15"
features = [
    "with-wkb",
    "with-geo",
]

[dependencies.hmac]
version = "0.12"

[dependencies.hyperdb-api-salesforce]
version = "=0.1.0"
optional = true

[dependencies.md-5]
version = "0.10"

[dependencies.memchr]
version = "2.7"

[dependencies.pbkdf2]
version = "0.12"

[dependencies.prost]
version = "0.14"

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

[dependencies.rand]
version = "0.10"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.socket2]
version = "0.6"

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

[dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "logging",
    "tls12",
]
default-features = false

[dependencies.tonic]
version = "0.14"
features = [
    "tls-ring",
    "tls-webpki-roots",
]

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.webpki-roots]
version = "1.0"

[dependencies.wkt]
version = "0.14"

[dependencies.zeroize]
version = "1.8"

[dev-dependencies.arrow]
version = "58.0"

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

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
]

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

[build-dependencies.tonic-build]
version = "0.14"

[build-dependencies.tonic-prost-build]
version = "0.14"

[lints.clippy]
allow_attributes_without_reason = "warn"
as_underscore = "warn"
cast_lossless = "warn"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "warn"
cast_sign_loss = "deny"
clone_on_ref_ptr = "warn"
doc_markdown = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreadable_literal = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]