{"package":"rand","ecosystem":"cargo","latest_version":"0.10.3","description":"Random number generators and other randomness functionality.\n","license":"MIT OR Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://rust-random.github.io/book","repository":"https://github.com/rust-random/rand","downloads_weekly":450646822,"health":{"score":90,"risk":"low","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":15,"community":5,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"0.10.3","total_count":94,"recent":["0.10.3","0.8.8","0.9.5","0.8.7","0.10.2","0.8.6","0.9.4","0.10.1","0.9.3","0.10.0","0.10.0-rc.9","0.10.0-rc.8","0.10.0-rc.7","0.10.0-rc.6","0.10.0-rc.5","0.10.0-rc.1","0.10.0-rc.0","0.9.2","0.9.1","0.9.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":0,"first_published":"2015-02-03T06:17:14.147783Z","last_published":"2026-09-20T06:37:47.850624Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":2083,"forks":513,"open_issues":18,"is_archived":false,"pushed_at":"2026-09-20T06:36:57Z","subscribers_count":24},"bundle":null,"typescript":null,"known_issues":{"bugs_count":2,"bugs_severity":{"medium":1,"low":1},"status_breakdown":{"fixed":2},"link":"/api/bugs/cargo/rand","scope":"all","details":[{"title":"Rand is unsound with a custom logger using `rand::rng()`","severity":"medium","status":"fixed","affected_version":"0.10.0","fixed_version":"0.10.1","url":"https://crates.io/crates/rand"},{"title":"Rand is unsound with a custom logger using rand::rng()","severity":"low","status":"fixed","affected_version":"0.7.0","fixed_version":"0.9.3","url":"https://github.com/rust-random/rand/pull/1763"}]},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"0.10.3","version_hint":null,"summary":"rand@0.10.3 is safe to use (health: 90/100)","alternatives":[{"name":"fastrand","reason":"fastrand is tiny and fine for non-crypto use","builtin":false}]},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/cargo/rand","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/cargo/rand","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/cargo/rand","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"_cache":"hit","_response_ms":0}