Cargo Features

[dependencies]
minecraft-data-rs = { version = "0.8.1", default-features = false, features = ["include-data", "api"] }
default = api, include-data

These default features are set whenever minecraft-data-rs is added without default-features = false somewhere in the dependency tree.

include-data build default api = cargo_toml, dirs, git2, include_dir, itertools, lazy_static

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

api default = include-data

Affects minecraft-data-rs::api

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde build include-data
include_dir include-data
itertools include-data

Enables itertools ^0.10.5

lazy_static include-data
git2 build include-data

Enables git2 ^0.18.2

dirs build include-data
cargo_toml build include-data

Enables cargo_toml ^0.19.1