| Crates.io | rbx_cookie |
| lib.rs | rbx_cookie |
| version | 0.1.5 |
| created_at | 2022-06-18 00:22:31.066711+00 |
| updated_at | 2025-03-04 04:03:36.49616+00 |
| description | Access the ROBLOSECURITY cookie from your environment |
| homepage | https://github.com/blake-mealey/mantle/tree/main/rbx_cookie |
| repository | https://github.com/blake-mealey/mantle |
| max_upload_size | |
| id | 608264 |
| size | 37,182 |
rbx_cookieFinds 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.
Install with cargo install rbx_cookie.
rbx_cookie --help
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();