[package]
edition = "2024"
name = "claviron-php-embed"
version = "0.2.0-alpha.19"
authors = ["ilker Arabaci <iadev09@claviron.dev>"]
build = "build.rs"
include = [
"/src/**/*.rs",
"/tests/**",
"/README.md",
"/build.rs",
"/php/composer.json",
"/php/src/**/*.php",
"/php/fallback/*.php",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Managed in-process PHP execution, application hosting, and native extensions for Claviron"
homepage = "https://github.com/claviron"
readme = "README.md"
keywords = [
"php",
"embedding",
"sapi",
"runtime",
"ffi",
]
categories = [
"web-programming::http-server",
"api-bindings",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/claviron/claviron"
[features]
apcu-intercept = []
auth = [
"dep:claviron-auth",
"dep:uuid",
]
axum = [
"dep:axum",
"claviron-http/axum",
]
cache = ["dep:claviron-cache"]
default = ["opcache-intercept"]
log-pipeline = [
"dep:claviron-logging",
"claviron-logging/pipeline",
]
metrics = [
"claviron-runtime/metrics",
"orbitive/metrics",
]
mysql = [
"dep:claviron-db",
"claviron-db/server",
"claviron-db/mysql",
"dep:sqlx",
"dep:time",
]
opcache-intercept = []
postgres = [
"dep:claviron-db",
"claviron-db/server",
"claviron-db/postgres",
"dep:sqlx",
"dep:time",
]
sqlite = [
"dep:claviron-db",
"claviron-db/server",
"claviron-db/sqlite",
"dep:sqlx",
]
tasks = ["dep:claviron-tasks"]
[lib]
name = "claviron_php_embed"
path = "src/lib.rs"
[[test]]
name = "native_registration"
path = "tests/native_registration.rs"
[dependencies.arc-swap]
version = "1.9"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.bytes]
version = "1.11"
[dependencies.claviron-app]
version = "0.2.0-alpha.19"
[dependencies.claviron-auth]
version = "0.2.0-alpha.19"
features = ["orbit"]
optional = true
[dependencies.claviron-cache]
version = "0.2.0-alpha.19"
optional = true
[dependencies.claviron-db]
version = "0.2.0-alpha.19"
optional = true
default-features = false
[dependencies.claviron-helpers]
version = "0.2.0-alpha.19"
[dependencies.claviron-http]
version = "0.2.0-alpha.19"
features = ["server"]
[dependencies.claviron-logging]
version = "0.2.0-alpha.19"
optional = true
[dependencies.claviron-orbit]
version = "0.2.0-alpha.19"
[dependencies.claviron-php]
version = "0.2.0-alpha.19"
features = ["php_embed"]
[dependencies.claviron-runtime]
version = "0.2.0-alpha.19"
[dependencies.claviron-tasks]
version = "0.2.0-alpha.19"
optional = true
[dependencies.congif]
version = "0.0.1"
features = ["yaml"]
[dependencies.ext-php-rs]
version = "0.16"
features = [
"embed",
"enum",
"observer",
"runtime",
"smartstring",
]
default-features = false
[dependencies.fastrand]
version = "2.4"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1.4"
[dependencies.http-body]
version = "1.0"
[dependencies.http-body-util]
version = "0.1"
[dependencies.libc]
version = "0.2"
[dependencies.orbitive]
version = "0.5.5"
default-features = false
[dependencies.regex]
version = "1.12"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"macros",
"json",
"uuid",
"time",
"bigdecimal",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
features = [
"serde",
"macros",
"formatting",
"parsing",
]
optional = true
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = [
"compat",
"io",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.26"
features = [
"serde",
"v4",
]
optional = true
[dev-dependencies.tempfile]
version = "3"