3 releases (stable)
Uses new Rust 2024
| 1.1.0 | Jun 7, 2025 |
|---|---|
| 1.0.0 | Jun 6, 2025 |
#480 in Machine learning
55 downloads per month
115KB
1K
SLoC
earthmc

earthmc is an async Rust client to interact with the
EarthMC API.
Installation
Add the following to your Cargo.toml:
[dependencies]
earthmc = "*"
Replace the * with the actual version you want to use.
Alternatively you can run:
cargo add earthmc
Usage
Create a new client
let client = Client::default();
Finally, for more advanced configurations you can use a ClientBuilder:
let client = ClientBuilder::default()
.world(World::Other("nostra".to_string()))
.build()
.unwrap();
Detailed usage examples are in the examples directory.
Examples
This package provides some usage examples in the examples
directory. You can run a given example using e.g.
cargo run --example query_towns
Dependencies
~7–21MB
~252K SLoC