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 default-features = false somewhere in the dependency tree.

redis default = url

Enables redis ^0.24

sqlite default

Enables sqlite of sqlx

postgres default = url

Enables postgres of sqlx

experimental-leveldb = leveldb-rs
tls-native-tls

Enables tls-native-tls of sqlx

sqlx:

TLS features

tls-rustls

Enables tls-rustls of sqlx

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?
leveldb-rs experimental-leveldb?
url postgres redis
smartstring not be not 32-bit implicit feature

Enables smartstring

smartstring:

Compact inlined strings