# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.71"
name = "rb-sys"
version = "0.9.119"
build = "build/main.rs"
links = "rb"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the CRuby API"
homepage = "https://github.com/oxidize-rb/rb-sys"
documentation = "https://docs.rs/rb-sys"
readme = "readme.md"
categories = ["external-ffi-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxidize-rb/rb-sys"

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

[lib]
name = "rb_sys"
path = "src/lib.rs"
doctest = false

[dev-dependencies.rusty-fork]
version = "0.3.1"

[build-dependencies.rb-sys-build]
version = "0.9.119"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(rb_sys_gem)",
    "cfg(rb_sys_use_stable_api_compiled_fallback)",
    "cfg(rb_sys_force_stable_api_compiled)",
]
