Cargo Features

mcdata has no features set by default.

[dependencies]
mcdata = { version = "0.4.0", features = ["serde", "block-states", "entities", "block-entities", "docs", "test", "mc-all", "latest", "1.14", "1.15", "1.15.2", "1.16", "1.16.2", "1.17", "1.18", "1.19", "1.19.1", "1.19.3", "1.19.4", "1.20", "1.20.2", "1.20.3", "1.20.5"] }
default

## Features

serde test?

Provide implementations of serde's Serialize and Deserialize traits for the various types

Enables serde, serde1 of bounded-integer, serde of either

block-states test?

Include lists for known, typed block states

Enables bounded-integer

entities test?

Include lists for known, typed entities

Enables either

block-entities test?

Include lists for known, typed block entities

Enables either

docs

Other Features

Enable this when building the docs

Enables document-features and rustc_version

test = block-entities, block-states, entities, latest, serde

Enables all features required for running the tests

mc-all = 1.14, 1.15, 1.15.2, 1.16, 1.16.2, 1.17, 1.18, 1.19, 1.19.1, 1.19.3, 1.19.4, 1.20, 1.20.2, 1.20.3, 1.20.5

Minecraft Version Features

FEATURE AUTOGEN START Enable all Minecraft version features

latest test? = 1.20.5

Enable lists for the latest supported Minecraft version. Currently 1.20.5

Affects list::latest, list::latest, combined::latest, list::latest

1.14 mc-all?

Enable lists for Minecraft 1.14, extracted from Minecraft 1.14.4

Affects list::mc1_14, list::mc1_14, combined::mc1_14, list::mc1_14

1.15 mc-all?

Enable lists for Minecraft 1.15, extracted from Minecraft 1.15.1

Affects list::mc1_15, list::mc1_15, combined::mc1_15, list::mc1_15

1.15.2 mc-all?

Enable lists for Minecraft 1.15.2, extracted from Minecraft 1.15.2

Affects list::mc1_15_2, list::mc1_15_2, combined::mc1_15_2, list::mc1_15_2

1.16 mc-all?

Enable lists for Minecraft 1.16, extracted from Minecraft 1.16.1

Affects list::mc1_16, list::mc1_16, combined::mc1_16, list::mc1_16

1.16.2 mc-all?

Enable lists for Minecraft 1.16.2, extracted from Minecraft 1.16.5

Affects list::mc1_16_2, list::mc1_16_2, combined::mc1_16_2, list::mc1_16_2

1.17 mc-all?

Enable lists for Minecraft 1.17, extracted from Minecraft 1.17.1

Affects list::mc1_17, list::mc1_17, combined::mc1_17, list::mc1_17

1.18 mc-all?

Enable lists for Minecraft 1.18, extracted from Minecraft 1.18.2

Affects list::mc1_18, list::mc1_18, combined::mc1_18, list::mc1_18

1.19 mc-all?

Enable lists for Minecraft 1.19, extracted from Minecraft 1.19

Affects list::mc1_19, list::mc1_19, combined::mc1_19, list::mc1_19

1.19.1 mc-all?

Enable lists for Minecraft 1.19.1, extracted from Minecraft 1.19.2

Affects list::mc1_19_1, list::mc1_19_1, combined::mc1_19_1, list::mc1_19_1

1.19.3 mc-all?

Enable lists for Minecraft 1.19.3, extracted from Minecraft 1.19.3

Affects list::mc1_19_3, list::mc1_19_3, combined::mc1_19_3, list::mc1_19_3

1.19.4 mc-all?

Enable lists for Minecraft 1.19.4, extracted from Minecraft 1.19.4

Affects list::mc1_19_4, list::mc1_19_4, combined::mc1_19_4, list::mc1_19_4

1.20 mc-all?

Enable lists for Minecraft 1.20, extracted from Minecraft 1.20.1

Affects list::mc1_20, list::mc1_20, combined::mc1_20, list::mc1_20

1.20.2 mc-all?

Enable lists for Minecraft 1.20.2, extracted from Minecraft 1.20.2

Affects list::mc1_20_2, list::mc1_20_2, combined::mc1_20_2, list::mc1_20_2

1.20.3 mc-all?

Enable lists for Minecraft 1.20.3, extracted from Minecraft 1.20.4

Affects list::mc1_20_3, list::mc1_20_3, combined::mc1_20_3, list::mc1_20_3

1.20.5 latest? mc-all?

Enable lists for Minecraft 1.20.5, extracted from Minecraft 1.20.6

Affects list::mc1_20_5, list::mc1_20_5, combined::mc1_20_5, list::mc1_20_5

Features from optional dependencies

FEATURE AUTOGEN END

See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html