Rust library to get client information (name, peer ID, key)
rust
let client = Client::from(ClientVersion::Qbittorrent_4_4_2);
client.get_query(); //get the query URL and HTTP headers (you have to replace fields in the url)
client.generate_key(); //generate a new key
client.generate_peer_id(); //generate a new peer ID
You can also get other information form the client (see doc)