1
0
mirror of https://github.com/danog/ext-php-rs.git synced 2024-12-14 01:57:33 +01:00
ext-php-rs/Cargo.toml
2023-10-20 14:44:47 +02:00

48 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" }
[dev-dependencies]
skeptic = "0.13"
[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"]