1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! A safe wrapper for the cubiomes library, which mimics
//! minecraft worldgen for seed finding and other purposes.
//!
//! This crate provides safe bindings for [cubiomes](https://github.com/Cubitect/cubiomes) by cubitect.
//! Cubiomes is intended for use in seed finding and biome map generation.
//!
//! The crate is organized into different modules which loosely correspond to
//! features available in cubiomes. The crate is still incomplete, as it doesn't
//! provide all features available in cubiomes.
//!
//! # Usage
//! See each module for usage of a specific feature of the library.
//!
//! - For biome generation see [crate::generator]
//! - For biome colormaps see [crate::colors]
//! - For structure geneartion see [crate::structures]
//! - For raw noise see [crate::noise]
//!
//! # Features
//! This create provides the following features, which are all enabled by
//! default:
//! - `image`: Provides the option to generate images from biome areas using the
//! [image](https://docs.rs/image/latest/image/) crate. Also see
//! [generator::Cache::to_image()] for generating the images.
//!
//! - `cc_build`: Build cubiomes using the [cc](https://docs.rs/cc/latest/cc/)
//! crate instead of make. It's benchamrked to be faster and might support
//! more platforms than using make.
pub use enums;