blob: 5609d5220abe0a88a9c867a2104b7fb06ad05952 [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
CROS_RUST_REMOVE_DEV_DEPS=1
inherit cros-rust
DESCRIPTION="A cryptographically secure random number generator that uses the ChaCha algorithm"
HOMEPAGE="https://github.com/rust-random/rand"
SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="${PV}/${PR}"
KEYWORDS="*"
DEPEND="
>=dev-rust/ppv-lite86-0.2.6:= <dev-rust/ppv-lite86-0.3.0
=dev-rust/rand_core-0.5*:=
"