Cargo Features
LrAU has no features set by default.
[dependencies]
lrau = { version = "0.6.0", features = ["sql", "diesel-support", "sqlx_support"] }
- sql diesel-support? sqlx_support?
-
Affects
lrau::sql_support
… - diesel-support = diesel, diesel_migrations, serde, serde_json, sql
-
Affects
lrau::schema
,sql_support::diesel_migrations
… - sqlx_support = serde, serde_json, sql, sqlx
-
Affects
sql_support::SQLX_MIGRATIONS
…
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.
- serde diesel-support? sqlx_support?
-
Enables serde
Optional
- diesel diesel-support?
-
Enables diesel ^1.4
- sqlx sqlx_support?
-
Enables sqlx ^0.5
- serde_json diesel-support? sqlx_support?
- diesel_migrations diesel-support?
-
Enables diesel_migrations ^1.4