Cargo Features

rb-sys has no features set by default.

[dependencies]
rb-sys = { version = "0.9.94", features = ["global-allocator", "stable-api", "fuzz", "stable-api-compiled-fallback", "stable-api-compiled-testing", "stable-api-compiled-force", "ruby-macros", "bindgen-rbimpls", "bindgen-deprecated-types", "bindgen-layout-tests", "bindgen-impl-debug", "bindgen-sizet-is-usize", "bindgen-return-const-encoding-pointers", "bindgen-enable-function-attribute-detection"] }
link-ruby no-link-ruby ruby-static global-allocator
stable-api ruby-macros? stable-api-compiled-fallback?

Affects rb-sys::macros, rb-sys::stable_api

fuzz
stable-api-compiled-fallback stable-api-compiled-testing? = stable-api

Fallback to compiled C API

stable-api-compiled-testing = stable-api-compiled-fallback

For testing the fallback in rb-sys (internal)

stable-api-compiled-force

Always use the compiled C API

ruby-macros = stable-api

deprecated

bindgen-rbimpls build

Enables bindgen-rbimpls of rb-sys-build

bindgen-deprecated-types build

Enables bindgen-deprecated-types of rb-sys-build

bindgen-layout-tests build

Enables bindgen-layout-tests of rb-sys-build

bindgen-impl-debug build

Enables bindgen-impl-debug of rb-sys-build

bindgen-sizet-is-usize build

Enables bindgen-sizet-is-usize of rb-sys-build

bindgen-return-const-encoding-pointers build

Enables bindgen-return…encoding-pointers of rb-sys-build

bindgen-enable-function-attribute-detection build

Enables bindgen-enable…attribute-detection of rb-sys-build