Skip to content

Commit

Permalink
Bump version to v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
UgnilJoZ committed Dec 23, 2023
1 parent 16fe44a commit df424a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minetestworld"
version = "0.5.3"
version = "0.5.4"
authors = ["Jan Ole Zabel <jan.zabel@posteo.de>"]
license = "AGPL-3.0"
repository = "https://github.com/UgnilJoZ/rust-minetestworld/"
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This crate lets you read minetest worlds in a low-level way.
[![Build](https://github.com/UgnilJoZ/rust-minetestworld/actions/workflows/rust.yaml/badge.svg)](https://github.com/UgnilJoZ/rust-minetestworld/actions/workflows/rust.yaml)
[![Crates.io](https://img.shields.io/crates/v/minetestworld.svg)](https://crates.io/crates/minetestworld)
[![Documentation](https://docs.rs/minetestworld/badge.svg)](https://docs.rs/minetestworld/)
[![dependency status](https://deps.rs/crate/minetestworld/0.5.3/status.svg)](https://deps.rs/crate/minetestworld/0.5.3)
[![dependency status](https://deps.rs/crate/minetestworld/0.5.4/status.svg)](https://deps.rs/crate/minetestworld/0.5.4)

# Usage
As this crate returns async-std based futures, you have to specify that along the dependencies:
Expand Down Expand Up @@ -48,7 +48,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
}
```

## Selectable backends
## Selectable features
The Cargo features `sqlite`, `redis`, and `postgres` enable the respective map data backend. They are enabled by default and can be selected individually:
```toml
[dependencies]
Expand All @@ -57,4 +57,6 @@ minetestworld = { version = "0.5.3", default-features = false, features = [ "sql

This crate only compiles if at least one backend is enabled, because it becomes pointless without.

To gain TLS support for the `postgres` connection, add the `tls-rustls` or the `tls-native-tls` feature.

See [minetest-worldmapper](https://github.com/UgnilJoZ/minetest-worldmapper) for a real-world example.

0 comments on commit df424a0

Please sign in to comment.