Skip to content

Commit

Permalink
Bump version to v0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UgnilJoZ committed Jan 20, 2023
1 parent 8603bca commit 28851c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.1"
version = "0.5.2"
authors = ["Jan Ole Zabel <jan.zabel@posteo.de>"]
license = "AGPL-3.0"
repository = "https://github.com/UgnilJoZ/rust-minetestworld/"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ 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.1/status.svg)](https://deps.rs/crate/minetestworld/0.5.1)
[![dependency status](https://deps.rs/crate/minetestworld/0.5.2/status.svg)](https://deps.rs/crate/minetestworld/0.5.2)

# Usage
As this crate returns async-std based futures, you have to specify that along the dependencies:
```toml
[dependencies]
minetestworld = "0.5.1"
minetestworld = "0.5.2"
async-std = "1"
```

Expand All @@ -21,7 +21,7 @@ Here is an example that reads all nodes of a specific map block:
```toml
[dependencies]
async-std = { version = "1", features = [ "attributes" ] }
minetestworld = "0.5.1"
minetestworld = "0.5.2"
```

```rs
Expand Down Expand Up @@ -52,7 +52,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
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]
minetestworld = { version = "0.5.1", default-features = false, features = [ "sqlite" ] }
minetestworld = { version = "0.5.2", default-features = false, features = [ "sqlite" ] }
```

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

0 comments on commit 28851c2

Please sign in to comment.