[package] name = "minetestworld" version = "0.5.4" authors = ["Jan Ole Zabel "] license = "AGPL-3.0" repository = "https://github.com/UgnilJoZ/rust-minetestworld/" documentation = "http://docs.rs/minetestworld" description = "Read and modify Minetest worlds" edition = "2021" [dependencies] thiserror = "1.0" sqlx = { version = "0.7", features = [ "runtime-async-std" ], optional = true } redis = { version = "0.24", default-features = false, features = [ "async-std-comp" ], optional = true } leveldb-rs = { version = "0.0.7", optional = true } url = { version = "2.2", optional = true } async-std = { version = "1", features = [ "attributes" ] } futures = "0.3" zstd = "0.13" log = "0.4" num-integer = "0.1" # Needed for div_floor until https://github.com/rust-lang/rust/issues/88581 is stabilized [target.'cfg(not(all(target_endian = "big", target_pointer_width = "32")))'.dependencies] smartstring = {version = "1", optional = true} [features] default = ["redis", "sqlite", "postgres"] redis = ["dep:redis", "url"] sqlite = ["sqlx/sqlite"] postgres = ["sqlx/postgres", "url"] experimental-leveldb = ["leveldb-rs"] tls-native-tls = ["sqlx/tls-native-tls"] tls-rustls = ["sqlx/tls-rustls"]