[package]
edition = "2024"
name = "cargo-php"
version = "0.1.16"
authors = [
"Xenira <xenira@php.rs>",
"David Cole <david.cole1340@gmail.com>",
"Pierre Tondereau <pierre.tondereau@protonmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Installs extensions and generates stub files for PHP extensions generated with `ext-php-rs`."
homepage = "https://ext-php.rs"
readme = "README.md"
keywords = [
"php",
"ffi",
"zend",
]
categories = [
"api-bindings",
"command-line-interface",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/extphprs/ext-php-rs"
[features]
default = ["enum"]
enum = ["ext-php-rs/enum"]
runtime = ["ext-php-rs/runtime"]
static = ["ext-php-rs/static"]
[lib]
name = "cargo_php"
path = "src/lib.rs"
[[bin]]
name = "cargo-php"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.cargo_metadata]
version = "0.23"
[dependencies.clap]
version = "4.0"
features = ["derive"]
[dependencies.dialoguer]
version = "0.12"
[dependencies.ext-php-rs]
version = "0.15"
features = ["runtime"]
default-features = false
[dependencies.libloading]
version = "0.9"
[dependencies.semver]
version = "1.0"
[lints.rust]
missing_docs = "warn"