Open
Description
tough::schema
struct types have an _extra
member:
Lines 83 to 95 in 533d8db
This is to handle keys that tough doesn't know about (yet), while still correctly validating signatures during serialization.
It'd be nice if consumers can create these structs without having to specify _extra: HashMap::new()
or ..Default::default()
. Not sure if there's any type magick we can perform.