gldf_rs_php

Crates.iogldf_rs_php
lib.rsgldf_rs_php
version0.2.0
sourcesrc
created_at2023-09-01 10:28:40.83338
updated_at2023-09-01 10:28:40.83338
descriptionGLDF (General Lighting Data Format) parser and writer for Rust, specifically for the Rust/WASM target as such designed for JSON format
homepagehttps://github.com/holg/gldf-rs
repositoryhttps://github.com/holg/gldf-rs
max_upload_size
id960810
size86,407
Holger Trahe (holg)

documentation

https://docs.rs/gldf-rs/

README

gldf-rs-php

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
Commit count: 72

cargo fmt