snss 0.1.0

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: 47.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.85 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s 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("~/.config/vivaldi/Default/Sessions/Session_13395009830123502")?;
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);
    }
}