5 releases

0.1.4 Oct 29, 2023
0.1.3 Aug 6, 2023
0.1.2 Aug 19, 2022
0.1.1 Jun 18, 2022
0.1.0 Jun 18, 2022

#221 in Games

Download history 56/week @ 2024-01-28 21/week @ 2024-02-04 25/week @ 2024-02-11 55/week @ 2024-02-18 103/week @ 2024-02-25 203/week @ 2024-03-03 212/week @ 2024-03-10 45/week @ 2024-03-17 79/week @ 2024-03-24 113/week @ 2024-03-31 146/week @ 2024-04-07 358/week @ 2024-04-14 118/week @ 2024-04-21 72/week @ 2024-04-28 115/week @ 2024-05-05 192/week @ 2024-05-12

635 downloads per month
Used in 4 crates (2 directly)

MIT license

18KB
363 lines

rbx_cookie

Finds the .ROBLOSECURITY cookie from either a ROBLOSECURITY environment variable or the authenticated local Roblox Studio installation (works for Windows and MacOS). Available as both a library and CLI.

CLI

Install with cargo install rbx_cookie.

rbx_cookie --help

Library

Disable default features to exclude the CLI dependencies with cargo add rbx_cookie --no-default-features, or use the default-features = false configuration:

# Cargo.toml
[dependencies]
rbx_cookie = { version = "<version>", default-features = false }
// Returns the cookie as a formatted header ready to add to a request
let cookie = rbx_cookie::get();

// Returns the raw cookie value
let cookie = rbx_cookie::get_value();

Dependencies

~2–12MB
~127K SLoC