Cargo Features
[dependencies]
df_st_api = { version = "0.3.0-development-2", default-features = false, features = ["sqlite", "postgres"] }
- default = sqlite
-
The
sqlite
feature is set by default wheneverdf_st_api
is added without
somewhere in the dependency tree.default-features = false - sqlite default
-
Enables sqlite of df_st_db and diesel_sqlite_pool of rocket_contrib
rocket_contrib:
The barage of user-facing database features.
- postgres
-
Enables postgres of df_st_db, diesel_postgres_pool of rocket_contrib
df_st_api has 3 features without comments.
Features from optional dependencies
See: https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section