Cargo Features

[dependencies]
magic-sys = { version = "0.3.0", default-features = false, features = ["v5-04", "v5-05", "v5-10", "v5-13", "v5-20", "v5-21", "v5-22", "v5-23", "v5-25", "v5-27", "v5-32", "v5-35", "v5-38", "v5-40"] }
default = v5-38

The v5-38 feature is set by default whenever magic-sys is added without default-features = false somewhere in the dependency tree.

v5-04 v5-05?

Affects magic-sys::FILE_LOAD, magic-sys::FILE_CHECK, magic-sys::FILE_COMPILE, magic-sys::magic_getpath

v5-05 v5-10? = v5-04

Affects magic-sys::MAGIC_NO_CHECK_BUILTIN, magic-sys::FILE_LIST, magic-sys::magic_list

v5-10 v5-13? = v5-05

Affects magic-sys::MAGIC_NO_CHECK_BUILTIN

v5-13 v5-20? = v5-10

Affects magic-sys::magic_version

v5-20 v5-21? = v5-13

Affects magic-sys::magic_load_buffers

v5-21 v5-22? = v5-20

Affects magic-sys::MAGIC_PARAM_INDIR_MAX, magic-sys::MAGIC_PARAM_NAME_MAX, magic-sys::MAGIC_PARAM_ELF_PHNUM_MAX, magic-sys::MAGIC_PARAM_ELF_SHNUM_MAX, magic-sys::magic_setparam, magic-sys::magic_getparam

v5-22 v5-23? = v5-21

Affects magic-sys::MAGIC_PARAM_ELF_NOTES_MAX

v5-23 v5-25? = v5-22

Affects magic-sys::MAGIC_EXTENSION, magic-sys::MAGIC_COMPRESS_TRANSP, magic-sys::MAGIC_NODESC

v5-25 v5-27? = v5-23

Affects magic-sys::MAGIC_PARAM_REGEX_MAX

v5-27 v5-32? = v5-25

Affects magic-sys::MAGIC_PARAM_BYTES_MAX

v5-32 v5-35? = v5-27

Affects magic-sys::magic_getflags

v5-35 v5-38 = v5-32

Affects magic-sys::MAGIC_NO_CHECK_JSON, magic-sys::MAGIC_NO_CHECK_BUILTIN

v5-38 default v5-40? = v5-35

Affects magic-sys::MAGIC_NO_CHECK_CSV, magic-sys::MAGIC_NO_CHECK_BUILTIN

v5-40 = v5-38

Affects magic-sys::MAGIC_PARAM_ENCODING_MAX