docs.rs failed to build minecraft-data-rs-0.8.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
minecraft-data-rs-0.7.2
minecraft-data-rs
This repository is a rust library to access minecraft data. The data itself hosted in the minecraft-data repository and included into the library at compile time.
Excluding the minecraft-data at compile time
By adding default-features=false
to the dependency in your Cargo.toml
file, you can exclude the minecraft-data from the library.
Usage
use HashMap;
use Api;
use Food;
use Version;
// create an api wrapper for the latest stable version
let api = latest.expect;
let food: = api.foods.foods_array.unwrap;
for food in food
Features
Feature | Description |
---|---|
include-data | includes the whole minecraft-data repository in the binary |
api | enables the api to query minecraft data |
License
This project is Licensed under MIT.