File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 51
51
event_name : ${{ github.event_name }}
52
52
tidy :
53
53
uses : taiki-e/github-actions/.github/workflows/tidy.yml@main
54
- with :
55
- known-cfgs : syn_serde_doc_cfg
56
54
57
55
test :
58
56
strategy :
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Library to serialize and deserialize Syn syntax trees.
14
14
15
15
[package .metadata .docs .rs ]
16
16
all-features = true
17
- rustdoc-args = [" --cfg" , " syn_serde_doc_cfg" ]
18
17
targets = [" x86_64-unknown-linux-gnu" ]
19
18
20
19
[package .metadata .cargo_check_external_types ]
Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ The data structures of syn-serde 0.3 is compatible with the data structures of
128
128
clippy:: used_underscore_binding,
129
129
clippy:: wildcard_imports
130
130
) ]
131
- // docs.rs only (cfg is enabled via [package.metadata. docs.rs] in Cargo.toml , not build script)
132
- #![ cfg_attr( syn_serde_doc_cfg , feature( doc_cfg) ) ]
131
+ // docs.rs only (cfg is enabled by docs.rs, not build script)
132
+ #![ cfg_attr( docsrs , feature( doc_cfg) ) ]
133
133
134
134
#[ macro_use]
135
135
mod macros;
@@ -259,7 +259,7 @@ pub use crate::token_stream::{
259
259
} ;
260
260
261
261
#[ cfg( feature = "json" ) ]
262
- #[ cfg_attr( syn_serde_doc_cfg , doc( cfg( feature = "json" ) ) ) ]
262
+ #[ cfg_attr( docsrs , doc( cfg( feature = "json" ) ) ) ]
263
263
pub mod json;
264
264
265
265
mod sealed {
You can’t perform that action at this time.
0 commit comments