Cargo Features
[dependencies]
sql_from_models-cli = { version = "0.1.1", default-features = false, features = ["mysql", "postgres", "sqlite", "openssl-vendored"] }
- default = mysql, postgres, sqlite
-
These default features are set whenever
sql_from_models-cli
is added without
somewhere in the dependency tree.default-features = false - mysql default
-
databases
Enables mysql of sqlx ^0.5.9
- postgres default
-
Enables postgres of sqlx ^0.5.9
- sqlite default
-
Enables sqlite of sqlx ^0.5.9
- openssl-vendored
-
workaround for musl + openssl issues
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.