Skip to content

User Agent Parser for Rust

License

Notifications You must be signed in to change notification settings

nsofnetworks/uap-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Agent Parser

This crate is an implementation of a User Agent Parser, similar to those found as part of the UA-Parser Community. It tries to remain as consistent with the other implementations as possible while remaining simple and legible.

Getting Started

Every UA Parser implementation depends on the same regexes.yaml file, which is used to create the parser. You can find this file here or by initializing the submodule of this repo if you have it cloned.

To get to the docs, clone the repo and run cargo doc --open to build the documentation

Testing Locally

  • git submodule update --init to get started
  • cargo test
  • cargo test -- --nocapture for the full results

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.6%
  • Nix 2.4%