Cargo Features

[dependencies]
capstone = { version = "0.12.0", default-features = false, features = ["std", "full", "use_bindgen"] }
default = full, std

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

std default
full default

The 'full' feature, enabled by default, compiles Capstone normally. When disabled, Capstone will be built in Diet mode (https://www.capstone-engine.org/diet.html). This disables some features to reduce the size of the library

Enables full of capstone-sys

use_bindgen

Enables use_bindgen of capstone-sys

capstone-sys:

use pre-generated bindings instead of dynamically with bindgen Dynamically generate bindings with bindgen