[build-dependencies.indoc]
version = "2"
[build-dependencies.serde]
features = ["derive"]
version = "1.0.193"
[build-dependencies.serde_json]
version = "1.0.108"
[build-dependencies.slugify]
version = "0.1.0"
[dependencies.aws-lc-rs]
optional = true
version = "1.13"
[dependencies.base64ct]
features = ["alloc"]
version = "1.7"
[dependencies.chrono]
optional = true
version = "0.4.40"
[dependencies.dns-lookup]
version = "3.0.0"
[dependencies.itoa]
version = "1.0"
[dependencies.libc]
version = "0.2"
[dependencies.ndarray]
optional = true
version = "0.16"
[dependencies.questdb-confstr]
version = "0.1.1"
[dependencies.rand]
optional = true
version = "0.9.0"
[dependencies.ring]
optional = true
version = "0.17.14"
[dependencies.rustls]
default-features = false
features = ["logging", "std", "tls12"]
version = "0.23.25"
[dependencies.rustls-native-certs]
optional = true
version = "0.8.2"
[dependencies.rustls-pki-types]
version = "1.12.0"
[dependencies.ryu]
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.socket2]
optional = true
version = "0.6.1"
[dependencies.ureq]
default-features = false
optional = true
version = "3.1.2, <3.2.0"
[dependencies.webpki-roots]
default-features = false
optional = true
version = "1.0.3"
[dev-dependencies.chrono]
version = "0.4.31"
[dev-dependencies.mio]
features = ["os-poll", "net"]
version = "1"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.socket2]
version = "0.6.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.webpki-roots]
version = "1.0.1"
[[example]]
name = "auth"
path = "examples/auth.rs"
required-features = ["chrono_timestamp"]
[[example]]
name = "auth_tls"
path = "examples/auth_tls.rs"
required-features = ["chrono_timestamp"]
[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["chrono_timestamp", "ndarray"]
[[example]]
name = "from_conf"
path = "examples/from_conf.rs"
[[example]]
name = "from_env"
path = "examples/from_env.rs"
[[example]]
name = "http"
path = "examples/http.rs"
required-features = ["sync-sender-http", "ndarray"]
[[example]]
name = "protocol_version"
path = "examples/protocol_version.rs"
required-features = ["sync-sender-http", "ndarray"]
[features]
_sender-http = []
_sender-tcp = []
_sync-sender = []
almost-all-features = ["sync-sender", "tls-webpki-certs", "tls-native-certs", "ring-crypto", "insecure-skip-verify", "json_tests", "chrono_timestamp", "ndarray"]
aws-lc-crypto = ["dep:aws-lc-rs", "rustls/aws-lc-rs"]
chrono_timestamp = ["chrono"]
default = ["sync-sender", "tls-webpki-certs", "ring-crypto"]
insecure-skip-verify = []
json_tests = []
ring-crypto = ["dep:ring", "rustls/ring"]
sync-sender = ["sync-sender-tcp", "sync-sender-http"]
sync-sender-http = ["_sync-sender", "_sender-http", "dep:ureq", "dep:serde_json", "dep:rand"]
sync-sender-tcp = ["_sync-sender", "_sender-tcp", "dep:socket2"]
tls-native-certs = ["dep:rustls-native-certs"]
tls-webpki-certs = ["dep:webpki-roots"]
[lib]
crate-type = ["lib"]
name = "questdb"
path = "src/lib.rs"
[package]
authors = ["Adam Cimarosti <adam@questdb.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["database"]
description = "QuestDB Client Library for Rust"
edition = "2024"
homepage = "https://questdb.com/"
keywords = ["questdb", "ilp", "client-library"]
license = "Apache-2.0"
name = "questdb-rs"
readme = "README.md"
repository = "https://github.com/questdb/c-questdb-client"
version = "6.0.0"
[package.metadata.docs.rs]
features = ["almost-all-features"]
[target."cfg(windows)".dependencies.winapi]
features = ["ws2def"]
version = "0.3.9"