Crates.io | gldf_rs_php |
lib.rs | gldf_rs_php |
version | 0.2.0 |
source | src |
created_at | 2023-09-01 10:28:40.83338 |
updated_at | 2023-09-01 10:28:40.83338 |
description | GLDF (General Lighting Data Format) parser and writer for Rust, specifically for the Rust/WASM target as such designed for JSON format |
homepage | https://github.com/holg/gldf-rs |
repository | https://github.com/holg/gldf-rs |
max_upload_size | |
id | 960810 |
size | 86,407 |
WIP php extenson and bindings for the gldf-rs rust library
create the library:
cargo build --release
copy the library to the PECL extension directory: on MacOS wit Homebrew:
cp target/release/libgldf_rs_php.dylib /opt/homebrew/lib/php/pecl/20220829/libgldf_rs_php.so
add / enable the extension in php.ini:
extension=/opt/homebrew/lib/php/pecl/20220829/libgldf_php.so
1