17 releases (9 breaking)

new 0.9.3 Apr 16, 2024
0.9.0 Mar 18, 2024
0.6.1 Dec 19, 2023
0.6.0 Oct 31, 2023
0.0.1 Feb 14, 2023

#115 in Network programming

Download history 142/week @ 2023-12-22 256/week @ 2023-12-29 277/week @ 2024-01-05 276/week @ 2024-01-12 334/week @ 2024-01-19 315/week @ 2024-01-26 227/week @ 2024-02-02 274/week @ 2024-02-09 624/week @ 2024-02-16 721/week @ 2024-02-23 568/week @ 2024-03-01 455/week @ 2024-03-08 865/week @ 2024-03-15 970/week @ 2024-03-22 1067/week @ 2024-03-29 1517/week @ 2024-04-05

4,521 downloads per month
Used in 8 crates

MIT/Apache

81KB
1.5K SLoC

axoasset

Github Actions Rust crates.io License: MPL 2.0

This library offers read, write, and copy functions, for local and remote assets given a string that contains a relative or absolute local path or a remote address using http or https.

Example

use axoasset;

let assets = vec!("https://my.co/logo.png", "./profile.jpg", "README.md");
let dest = "public";

for asset in assets {
    axoasset::copy(asset, dest)?;
}

License

Licensed under either of

at your option.

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 as above, without any additional terms or conditions.

If you are interested in contributing, please read our CONTRIBUTING notes and our Code of Conduct.

Copyright 2022 Axo Developer Co.

Dependencies

~2–21MB
~275K SLoC