File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,7 @@ phper-build = { workspace = true }
3333unexpected_cfgs = { level = " warn" , check-cfg = [
3434 ' cfg(phper_enum_supported)' ,
3535] }
36+
37+ [package .metadata .docs .rs ]
38+ rustdoc-args = [" --cfg" , " docsrs" ]
39+ all-features = true
Original file line number Diff line number Diff line change 1+ // Copyright (c) 2022 PHPER Framework Team
2+ // PHPER is licensed under Mulan PSL v2.
3+ // You can use this software according to the terms and conditions of the Mulan
4+ // PSL v2. You may obtain a copy of Mulan PSL v2 at:
5+ // http://license.coscl.org.cn/MulanPSL2
6+ // THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
7+ // KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
8+ // NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
9+ // See the Mulan PSL v2 for more details.
10+
11+ fn main ( ) {
12+ phper_build:: register_all ( ) ;
13+ }
Original file line number Diff line number Diff line change 1111#![ warn( rust_2018_idioms, missing_docs) ]
1212#![ warn( clippy:: dbg_macro, clippy:: print_stdout) ]
1313#![ doc = include_str ! ( "../README.md" ) ]
14+ #![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
1415
1516pub use phper;
1617
You can’t perform that action at this time.
0 commit comments