docs.rs failed to build minecraft_nether_generation-0.2.3
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.
Minecraft Nether Generation in Rust
You can run this in C, C++, Rust and Python.
First thing: Get rust: https://rustup.rs
Second thing: Run Cargo: cargo build --release
Third thing: Install python bindings (optional): python3 setup.py install --user
Fourth thing: Use Rust:
let mut nether = new;
let biome = nether.get_final_biome;
Fifth thing: Use C/C++: You have a shared library (.so/.dll) in target/release and a header file in target, you have two functions, just use them like any other functions ;) see example.c
struct NetherGen *;
NetherBiomes ;
Six thing (you can also run that in go, ruby and much more, rust/cbindings are awesome !)