# 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" name = "questdb-rs" version = "4.0.3" authors = ["Adam Cimarosti "] description = "QuestDB Client Library for Rust" homepage = "https://questdb.io/" readme = "README.md" keywords = [ "questdb", "ilp", "client-library", ] categories = ["database"] license = "Apache-2.0" repository = "https://github.com/questdb/c-questdb-client" [package.metadata.docs.rs] all-features = true [lib] name = "questdb" crate-type = ["lib"] [[example]] name = "basic" required-features = ["chrono_timestamp"] [[example]] name = "auth" required-features = ["chrono_timestamp"] [[example]] name = "auth_tls" required-features = ["chrono_timestamp"] [[example]] name = "http" required-features = ["ilp-over-http"] [dependencies.base64ct] version = "1.6.0" features = ["alloc"] [dependencies.chrono] version = "0.4.30" optional = true [dependencies.dns-lookup] version = "2.0.4" [dependencies.itoa] version = "1.0.9" [dependencies.libc] version = "0.2" [dependencies.questdb-confstr] version = "0.1.0" [dependencies.rand] version = "0.8.5" optional = true [dependencies.ring] version = "0.17.5" [dependencies.rustls] version = "0.22.0" [dependencies.rustls-native-certs] version = "0.7.0" optional = true [dependencies.rustls-pemfile] version = "2.0.0" [dependencies.rustls-pki-types] version = "1.0.1" [dependencies.ryu] version = "1.0.15" [dependencies.serde_json] version = "1.0.108" optional = true [dependencies.socket2] version = "0.5.5" [dependencies.ureq] version = "=2.9" optional = true [dependencies.webpki-roots] version = "0.26.0" optional = true [dev-dependencies.chrono] version = "0.4.31" [dev-dependencies.mio] version = "0.8.10" features = [ "os-poll", "net", ] [dev-dependencies.tempfile] version = "3.2.0" [build-dependencies.indoc] version = "2.0.4" [build-dependencies.serde] version = "1.0.193" features = ["derive"] [build-dependencies.serde_json] version = "1.0.108" [build-dependencies.slugify] version = "0.1.0" [features] chrono_timestamp = ["chrono"] default = [ "tls-webpki-certs", "ilp-over-http", ] ilp-over-http = [ "dep:ureq", "dep:serde_json", "dep:rand", ] insecure-skip-verify = [] json_tests = [] tls-native-certs = ["dep:rustls-native-certs"] tls-webpki-certs = ["dep:webpki-roots"] [target."cfg(windows)".dependencies.winapi] version = "0.3.9" features = ["ws2def"]