File tree 3 files changed +18
-0
lines changed
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 }
33
33
unexpected_cfgs = { level = " warn" , check-cfg = [
34
34
' cfg(phper_enum_supported)' ,
35
35
] }
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 11
11
#![ warn( rust_2018_idioms, missing_docs) ]
12
12
#![ warn( clippy:: dbg_macro, clippy:: print_stdout) ]
13
13
#![ doc = include_str ! ( "../README.md" ) ]
14
+ #![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
14
15
15
16
pub use phper;
16
17
You can’t perform that action at this time.
0 commit comments