# 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 = "2024"
name = "mruby-compiler2-sys"
version = "0.2.0"
authors = [
    "Uchio Kondo <udzura@udzura.jp>",
    "Hitoshi Hasumi",
    "prism developers",
]
build = "build.rs"
include = [
    "**/*.rs",
    "Cargo.toml",
    "vendor/*",
    "lib/.keep",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "mruby-compiler2 bindings for Rust"
readme = "README.md"
license-file = "LICENSE"

[features]
default = ["std"]
no-std = []
std = ["dep:libc"]

[lib]
name = "mruby_compiler2_sys"
path = "src/lib.rs"

[[example]]
name = "cfunc"
path = "examples/cfunc.rs"

[[example]]
name = "smoke"
path = "examples/smoke.rs"

[dependencies.libc]
version = "0.2.177"
optional = true

[build-dependencies.bindgen]
version = ">= 0"

[build-dependencies.cc]
version = ">= 1"

[build-dependencies.glob]
version = ">= 0"
