#test #assets #git #hash #io #testing

test-assets

Download test assets, managing them outside of git

2 unstable releases

Uses old Rust 2015

0.2.0 May 31, 2018
0.1.0 Sep 20, 2016

#1648 in Cryptography

Download history 11/week @ 2023-10-17 13/week @ 2023-10-24 16/week @ 2023-10-31 15/week @ 2023-11-07 16/week @ 2023-11-14 12/week @ 2023-11-21 21/week @ 2023-11-28 12/week @ 2023-12-05 14/week @ 2023-12-12 14/week @ 2023-12-19 18/week @ 2023-12-26 9/week @ 2024-01-02 16/week @ 2024-01-09 11/week @ 2024-01-16 12/week @ 2024-01-23 20/week @ 2024-01-30

62 downloads per month

MIT/Apache

11KB
203 lines

Test assets crate

Download test assets, managing them outside of git.

crates.io

Documentation

git is nice for many purposes, but it stores the whole history. Once added, an asset will bloat your git repository even after you've removed it again, until drastic measures are taken like a rewrite of the history. Best don't even add it to git in the first place, and keep git to text files only.

Submodules can be used to manage this as well, but they are very hard to use and add lots of complexity to your users.

With this library, the only thing your users have to do is git clone.

License

Licensed under Apache 2 or MIT (at your option). For details, see the LICENSE file.

All examples inside the examples/ folder are licensed under the CC-0 license.

License of your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed / CC-0 licensed as above, without any additional terms or conditions.

Dependencies

~14–23MB
~329K SLoC