blob: 3e4642cd4a75e35e67bcd99790d7bc80b4ed2d13 [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="C-Like offset_of functionality for Rust structs"
HOMEPAGE="https://github.com/Gilnaa/memoffset"
SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
LICENSE="MIT"
SLOT="${PV}/${PR}"
KEYWORDS="*"
DEPEND="=dev-rust/autocfg-1*:="
RDEPEND="${DEPEND}"