Skip to content

Commit 515be2e

Browse files
committed
Update documents.
1 parent 6a68448 commit 515be2e

File tree

6 files changed

+7
-46
lines changed

6 files changed

+7
-46
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A library that allows us to write PHP extensions using pure Rust and using safe
3232
- [x] 7.3
3333
- [x] 7.4
3434
- [x] 8.0
35-
- [ ] 8.1
35+
- [x] 8.1
3636
- **mode**
3737
- [x] nts
3838
- [ ] zts

phper-alloc/src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
#![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")]
93

104
use phper_sys::*;
115
use std::{

phper-build/src/lib.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
#![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")]
123

134
use phper_sys::*;
145

phper-macros/src/lib.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#![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")]
103

114
// TODO Write a bridge macro for easy usage about register functions and classes, like `cxx`.
125

phper-sys/src/lib.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,8 @@
44
#![allow(non_snake_case)]
55
// TODO Because `bindgen` generates codes contains deref nullptr, temporary suppression.
66
#![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")]
179

1810
use std::os::raw::c_char;
1911

phper-test/src/lib.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
#![warn(rust_2018_idioms, clippy::dbg_macro, clippy::print_stdout)]
22
#![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")]
134

145
pub mod cli;
156
mod context;

0 commit comments

Comments
 (0)