Cargo Features
spring-sea-orm has no features set by default.
[dependencies]
spring-sea-orm = { version = "0.3.0", features = ["mysql", "sqlite", "postgres", "with-web"] }
- default
-
These default features are set whenever
spring-sea-orm
is added without
somewhere in the dependency tree.default-features = false Enables runtime-tokio-native-tls of sea-orm
- mysql
-
Enables sqlx-mysql of sea-orm
- sqlite
-
Enables sqlx-sqlite of sea-orm
- postgres
-
Enables sqlx-postgres of sea-orm
- with-web = spring-web
-
Affects
config::SeaOrmWebConfig
…
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.