manual-filetree

Crates.iomanual-filetree
lib.rsmanual-filetree
version0.0.1-rc.10
sourcesrc
created_at2024-03-19 20:33:52.029453
updated_at2024-03-19 22:20:45.261758
descriptionA filetree display from a manual configuration.
homepage
repositoryhttps://codeberg.org/ryanc/filetree
max_upload_size
id1179650
size47,341
Ryan Crisanti (rcrisanti)

documentation

README

filetree

A filetree view from yaml config.

Example:

Input:

- dir1:
  - file.txt
- dir2:
  - subdir:
    - otherfile.txt

Output:

.
├── dir1
│   └── file.txt
└── dir2
    └── subdir
        └── otherfile.txt

publishing

Publish the crate with cargo-release. When this created tag is pushed, it should trigger the CD pipeline. This will build the npm package and publish it to the forgejo package repository as well as create a release on the Codeberg repo.

releases

To build a wasm release, run wasm-pack build --target web.

manual testing

Follow the instructions to build a release. Then run a little HTTP server (like python -m http.server) so you can test it in the browser.

Commit count: 0

cargo fmt