mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-05-06 06:47:28 +00:00
Add utils crates
This commit is contained in:
parent
f5d3e86eb2
commit
738f9c947b
18 changed files with 412 additions and 1 deletions
10
examples/agent.rs
Normal file
10
examples/agent.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Copyright (c) Tribufu. All Rights Reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use tribufu::TribufuApi;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let user_agent = TribufuApi::get_user_agent();
|
||||
println!("{}", user_agent);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue