Crate

rand

Random number generation for Rust.

What it is

rand provides a suite of random number generators, probability distributions, and sampling utilities. It includes cryptographically-appropriate sources via rand_core and fast non-cryptographic generators. Common usage: thread_rng().gen(), random(), and distributions like Uniform and Normal.

Why it is commonly used

Used wherever randomness is needed: simulations, games, testing, shuffling, sampling, UUID generation, and seeding cryptographic material. rand_core defines the RNG trait interface that the broader ecosystem builds on.

825
Repositories
5.2M
Total stars
1.1k
Active
1.1k
Owners
Browse 1307 repositories using rand in Repos →
Often used with
Used by these organizations
50 of 1.3k repositories · ranked by stars
rustdesk116kactive

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

union74kactive

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

RuView72kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

⑂ 9.6k193
openinterpreter64kactive

A lightweight coding agent for open models like Deepseek, Kimi, and Qwen

⑂ 5.6k270
starship58kactive

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

⑂ 2.5k1.0k
goose48kactive

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

hyperswitch43kactive

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

tokio32kactive

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

⑂ 3.1k433
qdrant32kactive

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

zeroclaw32kactive

Fast, small, and fully autonomous AI personal assistant infrastructure, any OS, any platform — deploy anywhere, swap anything 🦀

iced31kactive

A cross-platform GUI library for Rust, inspired by Elm

⑂ 1.6k445
Antigravity-Manager30kactive

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。

⑂ 3.2k1.7k
jj30kactive

A Git-compatible VCS that is both simple and powerful

⑂ 1.1k1.1k
egui29kactive

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

⑂ 2.0k1.1k
rustfs29kactive

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

← Browse all repos