ezffi 0.1.0

Generate C-FFI bindings from Rust types/functions via a single proc-macro attribute
# 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"
rust-version = "1.88"
name = "ezffi"
version = "0.1.0"
authors = ["Borja Castellano <borjacastellano1@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate C-FFI bindings from Rust types/functions via a single proc-macro attribute"
documentation = "https://docs.rs/ezffi"
readme = "README.md"
keywords = [
    "ffi",
    "c",
    "bindings",
    "interop",
    "cbindgen",
]
categories = [
    "development-tools::ffi",
    "external-ffi-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZocoLini/ezffi"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "std",
    "async",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
_arc = []
_btreemap = []
_btreeset = []
_hashmap = []
_hashset = []
_option_result = []
_rc = []
_slice = []
_string = []
_vec = []
_vecdeque = []
async = [
    "dep:pollster",
    "ezffi-macros/async",
]
default = [
    "_option_result",
    "_string",
    "_slice",
]
std = [
    "_arc",
    "_btreemap",
    "_btreeset",
    "_hashmap",
    "_hashset",
    "_rc",
    "_vec",
    "_vecdeque",
]

[lib]
name = "ezffi"
crate-type = [
    "lib",
    "staticlib",
]
path = "src/lib.rs"

[dependencies.ezffi-macros]
version = "0.1.0"

[dependencies.pollster]
version = "0.4"
optional = true

[build-dependencies.cbindgen]
version = "0.29.2"