Crates.io | randua |
lib.rs | randua |
version | 0.1.6 |
source | src |
created_at | 2019-08-16 14:38:07.842443 |
updated_at | 2019-08-29 00:26:11.765827 |
description | A random user-agent |
homepage | |
repository | https://github.com/roadhub/randua.git |
max_upload_size | |
id | 157384 |
size | 19,454 |
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
}