Cargo Features

[dependencies]
myval = { version = "0.1.22", default-features = false, features = ["full", "json", "postgres", "arrow2", "arrow2_ih"] }
default full? = arrow2

The arrow2 feature is set by default whenever myval is added without default-features = false somewhere in the dependency tree.

full = default, json, polars, postgres
json full? = serde, serde_json

Affects convert::json

postgres full? = async-stream, futures, serde, serde_json, sqlx

Affects db::postgres

Features from optional dependencies

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

arrow2 default

Enables io_ipc and compute_concatenate of arrow2 ^0.17.0

arrow2_ih implicit feature

Enables io_ipc and compute_concatenate of arrow2 ^0.17.0

async-stream postgres?
futures postgres?

With default features

polars full?

Enables default features of polars ^0.28.0

serde json? postgres?

With derive and default (std)

serde_json json? postgres?

With default (std)

sqlx postgres?

Enables chrono, postgres, runtime-tokio-native-tls and default features of sqlx ^0.6.3