Skip to content

Commit e4a450f

Browse files
committed
Add reqwest to dev deps
1 parent 596768c commit e4a450f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ php-tokio = "0.1.4"
2222

2323
[dev-dependencies]
2424
skeptic = "0.13"
25+
reqwest = "0.11.22"
2526

2627
[build-dependencies]
2728
anyhow = "1"

guide/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
- [Class Object](./types/class_object.md)
2525
- [Closure](./types/closure.md)
2626
- [Functions & methods](./types/functions.md)
27+
- [Async futures](./macros/impl.md#async)
2728
- [Macros](./macros/index.md)
2829
- [Module](./macros/module.md)
2930
- [Module Startup Function](./macros/module_startup.md)

guide/src/macros/impl.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ pub extern "C" fn request_shutdown(_type: i32, _module_number: i32) -> i32 {
213213
pub fn get_module(module: ModuleBuilder) -> ModuleBuilder {
214214
module.request_shutdown_function(request_shutdown)
215215
}
216+
217+
# fn main() {}
216218
```
217219

218220
Here's the async PHP code we use to interact with the Rust class we just exposed.

0 commit comments

Comments
 (0)