mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-29 20:29:01 +01:00
Add reqwest to dev deps
This commit is contained in:
parent
596768c7df
commit
e4a450f03a
@ -22,6 +22,7 @@ php-tokio = "0.1.4"
|
||||
|
||||
[dev-dependencies]
|
||||
skeptic = "0.13"
|
||||
reqwest = "0.11.22"
|
||||
|
||||
[build-dependencies]
|
||||
anyhow = "1"
|
||||
|
@ -24,6 +24,7 @@
|
||||
- [Class Object](./types/class_object.md)
|
||||
- [Closure](./types/closure.md)
|
||||
- [Functions & methods](./types/functions.md)
|
||||
- [Async futures](./macros/impl.md#async)
|
||||
- [Macros](./macros/index.md)
|
||||
- [Module](./macros/module.md)
|
||||
- [Module Startup Function](./macros/module_startup.md)
|
||||
|
@ -213,6 +213,8 @@ pub extern "C" fn request_shutdown(_type: i32, _module_number: i32) -> i32 {
|
||||
pub fn get_module(module: ModuleBuilder) -> ModuleBuilder {
|
||||
module.request_shutdown_function(request_shutdown)
|
||||
}
|
||||
|
||||
# fn main() {}
|
||||
```
|
||||
|
||||
Here's the async PHP code we use to interact with the Rust class we just exposed.
|
||||
|
Loading…
Reference in New Issue
Block a user