laravel-webrtc/rust/Cargo.toml

27 lines
781 B
TOML
Raw Permalink Normal View History

[package]
name = "blax_webrtc"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Rust media core (str0m) for blax-software/laravel-webrtc, exposed to PHP via ext-php-rs."
publish = false
# Built as a PHP extension (cdylib). `cargo php install` loads it into your PHP.
[lib]
crate-type = ["cdylib"]
[dependencies]
# Sans-IO WebRTC (ICE/DTLS/SRTP/RTP), built for SFU + recording use cases.
str0m = "0.6"
# Zend bindings so PHP can drive the core (SDP/ICE/control across FFI).
ext-php-rs = "0.12"
# Added as the core grows:
# opus = "..." # audio (de)coding for recording / transcoding
# hound / ogg = "..." # write recordings to disk
# tokio = "..." # the OpenAI-realtime bridge (server-side WebSocket)
[profile.release]
lto = true
codegen-units = 1