Cargo Features
[dependencies]
minetestworld = { version = "0.5.4", default-features = false, features = ["redis", "sqlite", "postgres", "experimental-leveldb", "tls-native-tls", "tls-rustls", "smartstring"] }
- default = postgres, redis, sqlite
-
These default features are set whenever
minetestworld
is added without
somewhere in the dependency tree.default-features = false - redis default = url
-
Enables redis ^0.24
- sqlite default
- postgres default = url
- experimental-leveldb = leveldb-rs
- tls-native-tls
-
Enables tls-native-tls of sqlx ^0.7
sqlx:
TLS features
- tls-rustls
-
Enables tls-rustls of sqlx ^0.7
sqlx:
For backwards compatibility
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.
- sqlx postgres sqlite tls-native-tls? tls-rustls?
-
Enables sqlx ^0.7
- leveldb-rs experimental-leveldb?
- url postgres redis
- smartstring not be not 32-bit implicit feature
-
Enables smartstring
smartstring:
Compact inlined strings