randua

Crates.iorandua
lib.rsrandua
version0.1.6
sourcesrc
created_at2019-08-16 14:38:07.842443
updated_at2019-08-29 00:26:11.765827
descriptionA random user-agent
homepage
repositoryhttps://github.com/roadhub/randua.git
max_upload_size
id157384
size19,454
roadup (roadupcc)

documentation

README

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
}

Commit count: 33

cargo fmt