File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " static-reflect"
3
- version = " 0.1.4 "
3
+ version = " 0.1.5 "
4
4
edition = " 2018"
5
5
description = " Static type information, giving a form of compile-time reflection"
6
6
license = " MIT"
@@ -21,9 +21,14 @@ never = []
21
21
# Support the 'builtin' alternative to stdlib types
22
22
builtins = []
23
23
24
+ # Workaround for outdated nightly
25
+ docs-rs = []
26
+
27
+
24
28
[workspace ]
25
29
members = [" lib/*" ]
26
30
27
31
# Workaround for outdated nightly
28
32
[package .metadata .docs .rs ]
29
- rustc-args = [" --cfg" , " docs_rs" ]
33
+ features = [" docs-rs" ]
34
+
Original file line number Diff line number Diff line change 24
24
* However it breaks on the version that docs.rs is using (as of this writing).
25
25
* Therefore, we have to turn it off there.
26
26
*/
27
- #![ cfg_attr( not( docs_rs ) , feature( const_fn_trait_bound) ) ]
27
+ #![ cfg_attr( not( feature= "docs-rs" ) , feature( const_fn_trait_bound) ) ]
28
28
#![ cfg_attr( feature = "never" , feature( never_type) ) ]
29
29
30
30
mod macros;
You can’t perform that action at this time.
0 commit comments