briandorsey / wavrw

wavrw is a command line tool to read and write WAV files with a focus on visualizing the structure of files and parsing metadata.
Apache License 2.0
2 stars 1 forks source link

add `help known_chunks` or similar, to list all parsable chunks #77

Closed briandorsey closed 3 months ago

briandorsey commented 3 months ago

I'd love to automate this. It needs to at least show the chunk id and a one sentence summary of that chunk.

Eventually it probably makes sense to lookup all types which implement a specific trait using rustdoc's JSON output. Unfortunately, that's currently nightly only, and I'd prefer to avoid nightly dependencies. When the time comes, rustdoc-json looks like it would be useful in a build.rs step.

In the short term, maybe building rustdoc html and scraping the supported types and docs from there?

Consider deferring this a while?

briandorsey commented 3 months ago

depends on #37