Cargo Features

[dependencies]
questdb-rs = { version = "4.0.1", default-features = false, features = ["ilp-over-http", "tls-native-certs", "tls-webpki-certs", "insecure-skip-verify", "json_tests", "chrono_timestamp"] }
default = ilp-over-http, tls-webpki-certs

These default features are set whenever questdb-rs is added without default-features = false somewhere in the dependency tree.

ilp-over-http default

Include support for ILP over HTTP.

Enables rand, serde_json, and ureq

Affects mock::HttpRequest, mock::HttpResponse

tls-native-certs

Allow use OS-provided root TLS certificates

Enables rustls-native-certs

tls-webpki-certs default

Allow use of the webpki-roots crate to validate TLS certificates.

Enables webpki-roots

insecure-skip-verify

Allow skipping verification of insecure certificates.

json_tests

Enable code-generation in build.rs for additional tests.

Affects build::json_tests

chrono_timestamp = chrono

Enable methods to create timestamp objects from chrono::DateTime objects.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono chrono_timestamp?