File tree Expand file tree Collapse file tree 6 files changed +7
-46
lines changed Expand file tree Collapse file tree 6 files changed +7
-46
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ A library that allows us to write PHP extensions using pure Rust and using safe
32
32
- [x] 7.3
33
33
- [x] 7.4
34
34
- [x] 8.0
35
- - [ ] 8.1
35
+ - [x ] 8.1
36
36
- ** mode**
37
37
- [x] nts
38
38
- [ ] zts
Original file line number Diff line number Diff line change 1
1
#![ warn( rust_2018_idioms, clippy:: dbg_macro, clippy:: print_stdout) ]
2
- /*!
3
- Alloc related items for [phper](https://crates.io/crates/phper).
4
-
5
- ## License
6
-
7
- [Unlicense](https://github.com/jmjoy/phper/blob/master/LICENSE).
8
- */
2
+ #![ doc = include_str ! ( "../README.md" ) ]
9
3
10
4
use phper_sys:: * ;
11
5
use std:: {
Original file line number Diff line number Diff line change 1
1
#![ warn( rust_2018_idioms, clippy:: dbg_macro, clippy:: print_stdout) ]
2
-
3
- /*!
4
- Generate stubs for project using [phper](https://crates.io/crates/phper).
5
-
6
- Add this crate in your `[build-dependencies]` and using in `build.rs`.
7
-
8
- ## License
9
-
10
- [Unlicense](https://github.com/jmjoy/phper/blob/master/LICENSE).
11
- */
2
+ #![ doc = include_str ! ( "../README.md" ) ]
12
3
13
4
use phper_sys:: * ;
14
5
Original file line number Diff line number Diff line change 1
1
#![ warn( rust_2018_idioms, clippy:: dbg_macro, clippy:: print_stdout) ]
2
-
3
- /*!
4
- The proc-macros for [phper](https://crates.io/crates/phper).
5
-
6
- ## License
7
-
8
- [Unlicense](https://github.com/jmjoy/phper/blob/master/LICENSE).
9
- */
2
+ #![ doc = include_str ! ( "../README.md" ) ]
10
3
11
4
// TODO Write a bridge macro for easy usage about register functions and classes, like `cxx`.
12
5
Original file line number Diff line number Diff line change 4
4
#![ allow( non_snake_case) ]
5
5
// TODO Because `bindgen` generates codes contains deref nullptr, temporary suppression.
6
6
#![ allow( deref_nullptr) ]
7
-
8
- /*!
9
- Low level PHP binding for Rust.
10
-
11
- The php-config is needed. You can set environment `PHP_CONFIG` to specify the path.
12
-
13
- ## License
14
-
15
- [Unlicense](https://github.com/jmjoy/phper/blob/master/LICENSE).
16
- */
7
+ #![ allow( clippy:: all) ]
8
+ #![ doc = include_str ! ( "../README.md" ) ]
17
9
18
10
use std:: os:: raw:: c_char;
19
11
Original file line number Diff line number Diff line change 1
1
#![ warn( rust_2018_idioms, clippy:: dbg_macro, clippy:: print_stdout) ]
2
2
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
3
-
4
- /*!
5
- Integration test tool for [phper](https://crates.io/crates/phper).
6
-
7
- The `php-config` is needed. You can set environment `PHP_CONFIG` to specify the path.
8
-
9
- ## License
10
-
11
- [Unlicense](https://github.com/jmjoy/phper/blob/master/LICENSE).
12
- !*/
3
+ #![ doc = include_str ! ( "../README.md" ) ]
13
4
14
5
pub mod cli;
15
6
mod context;
You can’t perform that action at this time.
0 commit comments