mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-26 20:15:22 +01:00
4a4370c817
* Start work on returning new objects Change `IntoZval` to consume `self` * Add conversion from vector reference to PHP hashtable through clones * `set_binary` now only takes `Vec` Used to take `AsRef<[T]>` to allow users to pass arrays, however, this causes the data to be cloned even if the user passes a `Vec`. * Rename `as_zval` to `into_zval` to match Rust conventions * Started work on closures * Finish implementation of closures * Document closures, add to prelude, feature gate * Fixed closure example
34 lines
741 B
TOML
34 lines
741 B
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.3.0"
|
|
authors = ["David Cole <david.cole1340@gmail.com>"]
|
|
edition = "2018"
|
|
categories = ["api-bindings"]
|
|
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
ext-php-rs-derive = { version = "=0.3.0", path = "./ext-php-rs-derive" }
|
|
|
|
[build-dependencies]
|
|
bindgen = { version = ">= 0.57.0, < 0.58.1" }
|
|
regex = "1"
|
|
cc = "1.0.67"
|
|
|
|
[features]
|
|
zts = []
|
|
debug = []
|
|
|
|
alloc = []
|
|
closure = []
|
|
|
|
[workspace]
|
|
members = [
|
|
"ext-php-rs-derive",
|
|
"example/skel"
|
|
]
|