-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
We're getting close to releasing 0.3.0. Are there any other papercuts on the API surface we want to clean up before release? Here are some ideas:
-
MetadataPathandTargetPathown aString, but are mainly passed around as a reference. Should we instead replicate std::path::Path and use a dynamically sized type? Downside of this is that we'd have to useunsafein order to construct these values. - Should we create
client::ClientBuilderand move theclient::Configinto it? Then people who just want the default wouldn't have to deal with passing aroundConfig::default(). - The TUF spec refers to different formats as "POUFs". Should we rename
tuf::interchangetotuf::pouf, andtuf::interchange::Jsontotuf::pouf::Pouf1? - Should we get rid of the
HashAlgorithmenum, and use adyn HashAlgorithminstead? That might allow better customization of the hash algorithm type. - Should we drop support for the legacy
hash_key_algorithm? - The tuf::error::Error is a little messy. Is there a better way to clean it up?
- should tuf::verify::verify_signature be public?
- Change TargetsMetadata to store targets in a BTreeMap rather than a HashMap to make ordering stable.
Metadata
Metadata
Assignees
Labels
No labels