blob: ee705c137121e0b894e958494d117f9549d398e3 [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
CROS_RUST_REMOVE_TARGET_CFG=1
inherit cros-rust
DESCRIPTION="A random number generator that retrieves randomness straight from the operating system"
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/libc-0.2*:=
=dev-rust/log-0.4*:=
~dev-rust/rand_core-0.4.0:=
=dev-rust/stdweb-0.4*:=
>=dev-rust/wasm-bindgen-0.2.12:= <dev-rust/wasm-bindgen-0.3.0
"
RDEPEND="${DEPEND}"