snss 0.1.1

Basic SNSS file parsing (eg. Chrome Session and Tabs Files)
Documentation
  • Coverage
  • 46.81%
    22 out of 47 items documented1 out of 12 items with examples
  • Size
  • Source code size: 46.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 655.21 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • thanadolps/snss
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thanadolps

Basic SNSS file parsing (eg. Chrome Session and Tabs Files)

Examples

let data = std::fs::read("Session")?;
let snss = snss::parse(&data)?;
for command in snss.commands {
    if let snss::Content::Tab(tab) = command.content {
        println!("Tab #{}: [{}]({})", tab.id, tab.title, tab.url);
    }
}