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 whenevermyval
is added without
somewhere in the dependency tree.default-features = false - 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?
- serde_json json? postgres?
- sqlx postgres?
-
Enables chrono, postgres, runtime-tokio-native-tls and default features of sqlx ^0.6.3