Cargo Features
[dependencies]
anorm = { version = "0.1.6", default-features = false, features = ["mysql", "postgres", "sqlite", "mssql"] }
- default = mysql
-
The
mysql
feature is set by default wheneveranorm
is added without
somewhere in the dependency tree.default-features = false - mysql default
-
Enables mysql of anorm-macros
- postgres
-
Enables postgres of anorm-macros
- sqlite
-
Enables sqlite of anorm-macros
- mssql
-
Enables mssql of anorm-macros
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.