axoasset

Crates.ioaxoasset
lib.rsaxoasset
version1.0.1
sourcesrc
created_at2023-02-14 17:18:47.374502
updated_at2024-10-31 14:44:29.699669
description>o_o<
homepage
repositoryhttps://github.com/axodotdev/axoasset
max_upload_size
id785088
size215,977
eng (github:axodotdev:eng)

documentation

README

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.

Commit count: 296

cargo fmt