mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-27 04:24:54 +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
15 lines
336 B
TOML
15 lines
336 B
TOML
[package]
|
|
name = "skel"
|
|
version = "0.1.0"
|
|
authors = ["David Cole <david.cole1340@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
ext-php-rs = { path = "../../", features = ["alloc", "closure"] }
|
|
|
|
[lib]
|
|
name = "skel"
|
|
crate-type = ["cdylib"]
|