Cargo Features
[dependencies]
rbatis-adapter = { version = "0.0.1", default-features = false, features = ["mysql", "postgres", "sqlite", "runtime-async-std", "runtime-tokio"] }
- default = mysql, runtime-tokio
-
These default features are set whenever
rbatis-adapter
is added without
somewhere in the dependency tree.default-features = false - mysql default
-
Enables mysql of rbatis ^3.1.16
Affects
actions::new
… - postgres
-
Enables postgres of rbatis ^3.1.16
Affects
actions::new
… - sqlite
-
Enables sqlite of rbatis ^3.1.16
Affects
actions::new
… - runtime-async-std
-
Enables unstable of async-std, runtime-async-std of casbin, runtime-async-std-rustls of rbatis ^3.1.16
- runtime-tokio default
-
Enables runtime-tokio of casbin, runtime-tokio-rustls of rbatis ^3.1.16 and rt of tokio
tokio:
Includes basic task execution capabilities
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.