user-agent-parser 0.5.0

A parser to get the product, OS, device, cpu, and engine information from a user agent, inspired by https://github.com/faisalman/ua-parser-js and https://github.com/ua-parser/uap-core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod cpu;
mod device;
mod engine;
mod os;
mod product;
mod version;

#[cfg(any(feature = "rocket", feature = "axum"))]
mod user_agent;

pub use cpu::CPU;
pub use device::Device;
pub use engine::Engine;
pub use os::OS;
pub use product::Product;
#[cfg(any(feature = "rocket", feature = "axum"))]
pub use user_agent::UserAgent;