@@ -498,6 +498,7 @@ macro_rules! define_properties {
498498 }
499499
500500 #[ cfg( feature = "serde" ) ]
501+ #[ cfg_attr( docsrs, doc( cfg( feature = "serde" ) ) ) ]
501502 impl <' i> serde:: Serialize for PropertyId <' i> {
502503 fn serialize<S >( & self , serializer: S ) -> Result <S :: Ok , S :: Error >
503504 where
@@ -522,6 +523,7 @@ macro_rules! define_properties {
522523 }
523524
524525 #[ cfg( feature = "serde" ) ]
526+ #[ cfg_attr( docsrs, doc( cfg( feature = "serde" ) ) ) ]
525527 impl <' i, ' de: ' i> serde:: Deserialize <' de> for PropertyId <' i> {
526528 fn deserialize<D >( deserializer: D ) -> Result <Self , D :: Error >
527529 where
@@ -572,6 +574,7 @@ macro_rules! define_properties {
572574 }
573575
574576 #[ cfg( feature = "jsonschema" ) ]
577+ #[ cfg_attr( docsrs, doc( cfg( feature = "jsonschema" ) ) ) ]
575578 impl <' i> schemars:: JsonSchema for PropertyId <' i> {
576579 fn is_referenceable( ) -> bool {
577580 true
@@ -896,6 +899,7 @@ macro_rules! define_properties {
896899 }
897900
898901 #[ cfg( feature = "serde" ) ]
902+ #[ cfg_attr( docsrs, doc( cfg( feature = "serde" ) ) ) ]
899903 impl <' i> serde:: Serialize for Property <' i> {
900904 fn serialize<S >( & self , serializer: S ) -> Result <S :: Ok , S :: Error >
901905 where
@@ -950,6 +954,7 @@ macro_rules! define_properties {
950954 }
951955
952956 #[ cfg( feature = "serde" ) ]
957+ #[ cfg_attr( docsrs, doc( cfg( feature = "serde" ) ) ) ]
953958 impl <' i, ' de: ' i> serde:: Deserialize <' de> for Property <' i> {
954959 fn deserialize<D >( deserializer: D ) -> Result <Self , D :: Error >
955960 where
@@ -1053,6 +1058,7 @@ macro_rules! define_properties {
10531058 }
10541059
10551060 #[ cfg( feature = "jsonschema" ) ]
1061+ #[ cfg_attr( docsrs, doc( cfg( feature = "jsonschema" ) ) ) ]
10561062 impl <' i> schemars:: JsonSchema for Property <' i> {
10571063 fn is_referenceable( ) -> bool {
10581064 true
@@ -1322,34 +1328,49 @@ define_properties! {
13221328 "flex-preferred-size" : FlexPreferredSize ( LengthPercentageOrAuto , VendorPrefix ) / Ms unprefixed: false ,
13231329
13241330 #[ cfg( feature = "grid" ) ]
1331+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13251332 "grid-template-columns" : GridTemplateColumns ( TrackSizing <' i>) ,
13261333 #[ cfg( feature = "grid" ) ]
1334+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13271335 "grid-template-rows" : GridTemplateRows ( TrackSizing <' i>) ,
13281336 #[ cfg( feature = "grid" ) ]
1337+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13291338 "grid-auto-columns" : GridAutoColumns ( TrackSizeList ) ,
13301339 #[ cfg( feature = "grid" ) ]
1340+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13311341 "grid-auto-rows" : GridAutoRows ( TrackSizeList ) ,
13321342 #[ cfg( feature = "grid" ) ]
1343+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13331344 "grid-auto-flow" : GridAutoFlow ( GridAutoFlow ) ,
13341345 #[ cfg( feature = "grid" ) ]
1346+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13351347 "grid-template-areas" : GridTemplateAreas ( GridTemplateAreas ) ,
13361348 #[ cfg( feature = "grid" ) ]
1349+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13371350 "grid-template" : GridTemplate ( GridTemplate <' i>) shorthand: true ,
13381351 #[ cfg( feature = "grid" ) ]
1352+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13391353 "grid" : Grid ( Grid <' i>) shorthand: true ,
13401354 #[ cfg( feature = "grid" ) ]
1355+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13411356 "grid-row-start" : GridRowStart ( GridLine <' i>) ,
13421357 #[ cfg( feature = "grid" ) ]
1358+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13431359 "grid-row-end" : GridRowEnd ( GridLine <' i>) ,
13441360 #[ cfg( feature = "grid" ) ]
1361+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13451362 "grid-column-start" : GridColumnStart ( GridLine <' i>) ,
13461363 #[ cfg( feature = "grid" ) ]
1364+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13471365 "grid-column-end" : GridColumnEnd ( GridLine <' i>) ,
13481366 #[ cfg( feature = "grid" ) ]
1367+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13491368 "grid-row" : GridRow ( GridRow <' i>) shorthand: true ,
13501369 #[ cfg( feature = "grid" ) ]
1370+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13511371 "grid-column" : GridColumn ( GridColumn <' i>) shorthand: true ,
13521372 #[ cfg( feature = "grid" ) ]
1373+ #[ cfg_attr( docsrs, doc( cfg( feature = "grid" ) ) ) ]
13531374 "grid-area" : GridArea ( GridArea <' i>) shorthand: true ,
13541375
13551376 "margin-top" : MarginTop ( LengthPercentageOrAuto ) [ logical_group: Margin , category: Physical ] ,
0 commit comments