Remove some cascaded functions, change defaults, docs Going through the rustdocs, the all the overloaded functions were rather confusing. Since most of these methods are only used in a few special places, this patch removes most overloads, and keeps: * RepoBuilder<Root>::commit * RepoBuilder<Root>::add_target Next, rather than using `create_*` and `with_*_builder`, it switches to `stage_*` and `stage_*_with_builder` to make it more obvious that we haven't written the metadata yet. Next, it changes the root metadata to default to consistent_snapshots, since that avoids many race conditions, and is a safer default. Finally, it cleans up the docs.
A Rust implementation of The Update Framework (TUF).
Full documentation is hosted at docs.rs.
This is under active development and may not suitable for production use. Further, the API is unstable and you should be prepared to refactor on even patch releases.
Please make all pull requests to the develop branch.
This project has a full disclosure policy on security related errors. Please treat these errors like all other bugs and file a public issue. Errors communicated via other channels will be immediately made public.
This work is dual licensed under the MIT and Apache-2.0 licenses. See LICENSE-MIT and LICENSE-APACHE for details.