Cargo Features

[dependencies]
odbc-iter = { version = "0.2.7", default-features = false, features = ["test-hive", "test-sql-server", "test-monetdb", "statistics", "chrono", "serde", "serde_json", "rust_decimal"] }
default = chrono

The chrono feature is set by default whenever odbc-iter is added without default-features = false somewhere in the dependency tree.

test-hive

Affects odbc-iter::tests.hive_connection_string, odbc-iter::tests.connect_hive, odbc-iter::tests.connect_hive_with_settings

test-sql-server

Affects odbc-iter::tests.sql_server_connection_string, odbc-iter::tests.connect_sql_server, odbc-iter::tests.connect_sql_server_with_settings

test-monetdb

Affects odbc-iter::tests.monetdb_connection_string, odbc-iter::tests.connect_monetdb, odbc-iter::tests.connect_monetdb_with_settings

statistics

If set stats are collected and available via odbc_iter::stats()

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

chrono default
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

rust_decimal implicit feature