# 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.74" name = "cbindgen" version = "0.27.0" authors = [ "Emilio Cobos Álvarez ", "Jeff Muizelaar ", "Kartikaya Gupta ", "Ryan Hunt ", ] build = "build.rs" exclude = ["tests/profile.rs"] autobins = false autoexamples = false autotests = false autobenches = false description = "A tool for generating C bindings to Rust code." readme = "README.md" keywords = [ "bindings", "ffi", "code-generation", ] categories = [ "external-ffi-bindings", "development-tools::ffi", ] license = "MPL-2.0" repository = "https://github.com/mozilla/cbindgen" [lib] name = "cbindgen" path = "src/lib.rs" [[bin]] name = "cbindgen" path = "src/main.rs" doc = false required-features = ["clap"] [[test]] name = "depfile" path = "tests/depfile.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.clap] version = "4.3" optional = true [dependencies.heck] version = "0.4" [dependencies.indexmap] version = "2.1.0" [dependencies.log] version = "0.4" [dependencies.proc-macro2] version = "1.0.60" [dependencies.quote] version = "1" [dependencies.serde] version = "1.0.103" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0" [dependencies.syn] version = "2.0.64" features = [ "clone-impls", "extra-traits", "fold", "full", "parsing", "printing", ] default-features = false [dependencies.tempfile] version = "3" [dependencies.toml] version = "0.8.8" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.serial_test] version = "2.0.0" default-features = false [features] default = ["clap"]