Skip to content

Commit

Permalink
feat(binding/php): Add basic io (#2782)
Browse files Browse the repository at this point in the history
* Basic IO

* Finish basic io

* Add license

* Rebase

* chore:rename api

* feat: add invalid uft-8 test

* feat: binary safe io

* feat: memory test and binary safe for `read` api

* chore: format license
  • Loading branch information
godruoyi authored Aug 8, 2023
1 parent b87fa5a commit 321a2f1
Show file tree
Hide file tree
Showing 10 changed files with 719 additions and 11 deletions.
186 changes: 186 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ members = [
"bindings/lua",
"bindings/dotnet",
"bindings/ocaml",
"bindings/php",

"bin/oli",
"bin/oay",
Expand Down
2 changes: 1 addition & 1 deletion bindings/php/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ crate-type = ["cdylib"]

[dependencies]
ext-php-rs = "0.10.1"
opendal = {version = "0.38.1", path = "../../core" }
opendal.workspace = true
2 changes: 1 addition & 1 deletion bindings/php/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": false
"pestphp/pest-plugin": true
}
}
}
Loading

0 comments on commit 321a2f1

Please sign in to comment.