-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
33 lines (30 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "minetestworld"
version = "0.5.4"
authors = ["Jan Ole Zabel <[email protected]>"]
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"]