You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's just the one basic example. The docs should be extended to show all the different features. There should be tests covering them all so basically need to take a good subset of the tests, clean them up, add some notes, and put them in the crate docs.
Quick list of what features I can think of right now:
attire(scope) - setting a wrapper attribute
attire(default) - setting a default if unspecified
FromStr parsing - parsing strings passed in as values
attire(docs) - putting docs attributes into a place
Currently there's just the one basic example. The docs should be extended to show all the different features. There should be tests covering them all so basically need to take a good subset of the tests, clean them up, add some notes, and put them in the crate docs.
Quick list of what features I can think of right now:
attire(scope)
- setting a wrapper attributeattire(default)
- setting a default if unspecifiedFromStr
parsing - parsing strings passed in as valuesattire(docs)
- putting docs attributes into a placeattire(attribute)
- setting a different attribute name to use (⚠️🚴🏠 Maybe rename #[attire(attribute=)] #9)attire(split_attribute_of)
- complicated, semi-unstable (Reconsider #[attire(split_attribute_of=)] #10)attire(flag_value)
- set a default if the attribute is used without a value, (⚠️🚴🏠 Maybe rename #[attire(flag_value=)] #11)syn
)bool
- special caseddefault
andflag_value
Vec
- attributes that can take multiple valuesThe text was updated successfully, but these errors were encountered: