Cargo Features

[dependencies]
rustler = { version = "0.36.0", default-features = false, features = ["big_integer", "allocator", "nif_version_2_14", "nif_version_2_15", "nif_version_2_16", "nif_version_2_17", "serde"] }
default = nif_version_2_15

The nif_version_2_15 feature is set by default whenever rustler is added without default-features = false somewhere in the dependency tree.

big_integer

Enables num-bigint

Affects types::big_int

derive alternative_nif_init_name allocator
nif_version_2_14 nif_version_2_15
nif_version_2_15 default nif_version_2_16? = nif_version_2_14

Affects types::ErlNifTermType

nif_version_2_16 nif_version_2_17? = nif_version_2_15

Affects traits::Resource.dyncall

nif_version_2_17 = nif_version_2_16

Affects types::ErlNifOption

serde

Enables serde

Affects rustler::serde