Cargo Features
RBatis has no features set by default.
[dependencies]
rbatis = { version = "4.5.36", features = ["debug_mode", "upper_case_sql_keyword"] }
- default
-
These default features are set whenever
rbatis
is added without
somewhere in the dependency tree.default-features = false Enables rbatis-macro-driver
- debug_mode
-
debug_mode feature will show decode json data
Enables debug_mode of rbatis-macro-driver and rbs
- upper_case_sql_keyword
-
support upper case sql keyword
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.
- rbatis-macro-driver default debug_mode?