commit | c38da3f6a8ee3b66c5e808b6a2a30792ea7bac7f | [log] [tgz] |
---|---|---|
author | Erick Tryzelaar <etryzelaar@google.com> | Thu Dec 06 10:33:26 2018 -0800 |
committer | Erick Tryzelaar <etryzelaar@google.com> | Fri Dec 14 10:55:18 2018 -0800 |
tree | 9d803e5eb1c4f0e9d372c4971896542647a836a1 | |
parent | 97fb07da7460ea3c8947b643030f9a7a78306610 [diff] |
Add a `HttpRepositoryBuilder` and move min_bytes_per_second The `HttpRepository::new` method takes a lot of options that I expect people will just set the default. This makes it easier to ignore unset options. Also, the `min_bytes_per_second` seems more like a setting that we'd want set globally, rather than on a per-repository-method call. Since this setting really only makes sense on `HttpRepository`, I've also moved this setting into the builder.
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.
This software includes and uses cryptographic software. Your current country may have restrictions on the import, export, possession, or use of cryptographic software. Check your country's relevant laws before using this in any way. See Wassenaar for more info.