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
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:
MetadataPath and TargetPath own a String, 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 use unsafe in order to construct these values.
Should we create client::ClientBuilder and move the client::Config into it? Then people who just want the default wouldn't have to deal with passing around Config::default().
The TUF spec refers to different formats as "POUFs". Should we rename tuf::interchange to tuf::pouf, and tuf::interchange::Json to tuf::pouf::Pouf1?
Should we get rid of the HashAlgorithm enum, and use a dyn HashAlgorithm instead? 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?
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.client::ClientBuilderand move theclient::Configinto it? Then people who just want the default wouldn't have to deal with passing aroundConfig::default().tuf::interchangetotuf::pouf, andtuf::interchange::Jsontotuf::pouf::Pouf1?HashAlgorithmenum, and use adyn HashAlgorithminstead? That might allow better customization of the hash algorithm type.hash_key_algorithm?