root-ls-0.1.3 is not a library.
root-ls
A command line tool to inspect the types of objects contained in a .root file similar to ROOT's TFile::ShowStreamerInfo() function. However, root-ls is also able to produce (proably buggy) Rust code as a starting point to write a custom parser for the content of a file. If you are in that sort of business, you should take a look at the root-io crate.
Installation
- Get Rust via rustup
- Install
root-ls
Usage
- Dump the layout of the streamed objects as yaml
- Create rust structs and parsers for the objects in this file; formatting the code with rustfmt
- Print a short summary of all the items in this file
- Dump all the info there is on one particular item. Not pretty, but most precise (especially with optional
-v)