blob: b2bb3c82c27fc27101747b067223a5fa20eda5e1 [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_DEV_DEPS=1
inherit cros-rust
DESCRIPTION='Parse command line argument by defining a struct, derive crate.'
HOMEPAGE='https://clap.rs/'
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/heck-0.3*:=
=dev-rust/proc-macro-error-1*:=
=dev-rust/proc-macro2-1*:=
=dev-rust/quote-1*:=
=dev-rust/syn-1*:=
"
RDEPEND="${DEPEND}"
# This file was automatically generated by cargo2ebuild.py
# ${PV} was changed from the original 3.0.0-beta.2
CROS_RUST_CRATE_VERSION="3.0.0-beta.2"
SRC_URI="https://crates.io/api/v1/crates/${PN}/${CROS_RUST_CRATE_VERSION}/download -> ${P}.crate"
S="${WORKDIR}/${PN}-${CROS_RUST_CRATE_VERSION}"