### Display JSON deserialization error with miette Source: https://github.com/axodotdev/axoasset/blob/main/CHANGELOG.md Example of the pretty-printed error output generated when deserializing JSON with the new serde_json feature. ```text × failed to read JSON ╰─▶ trailing comma at line 3 column 1 ╭─[src/tests/res/bad-package.json:2:1] 2 │ "name": null, 3 │ } · ─ ╰──── ``` -------------------------------- ### Copying assets with axoasset Source: https://github.com/axodotdev/axoasset/blob/main/tests/assets/README.md Demonstrates how to copy a collection of local and remote assets to a destination directory. ```rust use axoasset; let assets = vec!("https://my.co/logo.png", "./profile.jpg", "README.md"); let dest = "public"; for asset in assets { axoasset::copy(asset, "site assets", dest)?; } ``` -------------------------------- ### Copying assets with axoasset Source: https://github.com/axodotdev/axoasset/blob/main/README.md Demonstrates how to copy a collection of local and remote assets to a destination directory using the copy function. ```rust 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)?; } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.