Cargo Features
[dependencies]
mybatis-core = { version = "2.0.1", default-features = false, features = ["debug_mode", "all-database", "mysql", "postgres", "sqlite", "mssql", "runtime-tokio-rustls", "runtime-tokio-native-tls", "runtime-actix-rustls", "runtime-actix-native-tls", "runtime-async-std-rustls", "runtime-async-std-native-tls", "format_bson"] }
- default = all-database, runtime-tokio-rustls
-
These default features are set whenever
mybatis-core
is added without
somewhere in the dependency tree.default-features = false - debug_mode
- all-database default = bit-vec, mssql, mysql, postgres, sqlite
-
Enables all-databases of sqlx-core ^0.5
- mysql all-database
-
Enables mysql of sqlx-core ^0.5
Affects
db_adapter::DBConnectOption.mysql
,db_adapter::DBQuery.mysql
,db::bind_mysql
… - postgres all-database = bit-vec
-
Enables postgres of sqlx-core ^0.5
Affects
db_adapter::DBConnectOption.postgres
,db_adapter::DBQuery.postgres
,db::bind_pg
… - sqlite all-database
-
Enables sqlite of sqlx-core ^0.5
Affects
db_adapter::DBConnectOption.sqlite
,db_adapter::DBQuery.sqlite
,db::bind_sqlite
… - mssql all-database
-
Enables mssql of sqlx-core ^0.5
Affects
db_adapter::DBConnectOption.mssql
,db_adapter::DBQuery.mssql
,db::bind_mssql
… - runtime-tokio-rustls default
-
Enables runtime-tokio-rustls of sqlx-core ^0.5
- runtime-tokio-native-tls
-
Enables runtime-tokio-native-tls of sqlx-core ^0.5
- runtime-actix-rustls
-
Enables runtime-actix-rustls of sqlx-core ^0.5
- runtime-actix-native-tls
-
Enables runtime-actix-native-tls of sqlx-core ^0.5
- runtime-async-std-rustls
-
Enables runtime-async-std-rustls of sqlx-core ^0.5
- runtime-async-std-native-tls
-
Enables runtime-async-std-native-tls of sqlx-core ^0.5
- format_bson
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.