blob: fe694678acbbde06201bebd81abb6a450ddbe5d7 [file] [log] [blame]
# Copyright 2022 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
#CROS_RUST_REMOVE_TARGET_CFG=1
inherit cros-rust
DESCRIPTION='A small cross-platform library for retrieving random data from system source'
HOMEPAGE='https://crates.io/crates/getrandom'
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/cfg-if-1*:=
=dev-rust/compiler_builtins-0.1*:=
=dev-rust/rustc-std-workspace-core-1*:=
>=dev-rust/libc-0.2.120 <dev-rust/libc-0.3.0_alpha:=
>=dev-rust/wasi-0.10.0:=
>=dev-rust/wasm-bindgen-0.2.62:= <dev-rust/wasm-bindgen-0.3.0
"
RDEPEND="${DEPEND}"
# This file was automatically generated by cargo2ebuild.py