Cargo Features
[dependencies]
mybatis = { version = "2.0.4", default-features = false, features = ["debug_mode", "default_mode", "upper_case_sql_keyword", "all-database", "mysql", "postgres", "sqlite", "mssql", "runtime-tokio-rustls", "runtime-actix-rustls", "runtime-async-std-rustls", "runtime-tokio-native-tls", "runtime-actix-native-tls", "runtime-async-std-native-tls", "format_bson"] }
- default = all-database, default_mode
-
These default features are set whenever
mybatis
is added without
somewhere in the dependency tree.default-features = false - debug_mode
-
debug_mode feature will show decode json data
Enables debug_mode of mybatis-core, mybatis-macro, and mybatis-sql
- default_mode default all-database mssql? mysql? postgres? sqlite? = mybatis-core, mybatis-macro, mybatis-sql
- upper_case_sql_keyword
-
support upper case sql keyword
- all-database default = default_mode
-
runtime database
Enables all-database of mybatis-core
- mysql = default_mode
-
Enables mysql of mybatis-core
- postgres = default_mode
-
Enables postgres of mybatis-core
- sqlite = default_mode
-
Enables sqlite of mybatis-core
- mssql = default_mode
-
Enables mssql of mybatis-core
- runtime-tokio-rustls
-
choose runtime
Enables runtime-tokio-rustls of mybatis-core
- runtime-actix-rustls
-
Enables runtime-actix-rustls of mybatis-core
- runtime-async-std-rustls
-
Enables runtime-async-std-rustls of mybatis-core
- runtime-tokio-native-tls
-
Enables runtime-tokio-native-tls of mybatis-core
- runtime-actix-native-tls
-
Enables runtime-actix-native-tls of mybatis-core
- runtime-async-std-native-tls
-
Enables runtime-async-std-native-tls of mybatis-core
- format_bson
-
enable_format bson
Enables format_bson of mybatis-core
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.
- mybatis-sql debug_mode? default_mode
- mybatis-core all-database debug_mode? default_mode format_bson? mssql? mysql? postgres? runtime-actix-native-tls? runtime-actix-rustls? runtime-async-std-native-tls? runtime-async-std-rustls? runtime-tokio-native-tls? runtime-tokio-rustls? sqlite?
- mybatis-macro debug_mode? default_mode