5 releases

0.1.6 Aug 29, 2019
0.1.5 Aug 26, 2019
0.1.3 Aug 17, 2019
0.1.2 Aug 17, 2019
0.1.0 Aug 16, 2019

#540 in HTTP client

27 downloads per month
Used in orangino

MIT license

18KB
442 lines

A random user-agent

base a project surferua (go-lang) (git@github.com:jiusanzhou/surferua.git) -- thank you


use crate::randua;

fn main(){
    randua::new().firefox().phone().to_string(); // a firefox and mobile user agent
    randua::new().chrome().phone().to_string(); // a chrome and mobile user agent
    randua::new().chrome().desktop().to_string(); // a chrome and desktop user agent
    randua::new().to_string(); // a random user agent
}

Dependencies

~520KB