ext-php-rs/Cargo.toml

50 lines
1.1 KiB
TOML

[package]
name = "ext-php-rs"
description = "Bindings for the Zend API to build PHP extensions natively in Rust."
repository = "https://github.com/davidcole1340/ext-php-rs"
homepage = "https://github.com/davidcole1340/ext-php-rs"
license = "MIT OR Apache-2.0"
keywords = ["php", "ffi", "zend"]
version = "0.10.3"
authors = ["David Cole <david.cole1340@gmail.com>"]
edition = "2018"
categories = ["api-bindings"]
exclude = ["/.github", "/.crates", "/guide"]
[dependencies]
bitflags = "2"
parking_lot = "0.12"
cfg-if = "1.0"
once_cell = "1.17"
anyhow = { version = "1", optional = true }
ext-php-rs-derive = { version = "=0.10.1", path = "./crates/macros" }
php-tokio = "0.1.4"
[dev-dependencies]
skeptic = "0.13"
reqwest = "0.11.22"
[build-dependencies]
anyhow = "1"
bindgen = "0.68.1"
cc = "1.0"
skeptic = "0.13"
[target.'cfg(windows)'.build-dependencies]
ureq = { version = "2.4", features = [
"native-tls",
"gzip",
], default-features = false }
native-tls = "0.2"
zip = "0.6"
[features]
closure = []
embed = []
[workspace]
members = ["crates/macros", "crates/cli"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docs"]