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

#6 in #cookie

Download history 23/week @ 2023-12-25 76/week @ 2024-01-01 117/week @ 2024-01-08 48/week @ 2024-01-15 30/week @ 2024-01-22 60/week @ 2024-01-29 16/week @ 2024-02-05 32/week @ 2024-02-12 53/week @ 2024-02-19 150/week @ 2024-02-26 166/week @ 2024-03-04 204/week @ 2024-03-11 52/week @ 2024-03-18 80/week @ 2024-03-25 124/week @ 2024-04-01 73/week @ 2024-04-08

337 downloads per month
Used in 3 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.2–4.5MB
~85K SLoC