blob: a4f89767227ebc62d6eb4eace52c6b396a25c082 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit cros-rust
DESCRIPTION="Rust implementation of Google protocol buffers"
HOMEPAGE="https://github.com/stepancheg/rust-protobuf/"
SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
LICENSE="MIT"
SLOT="0/${PVR}"
KEYWORDS="*"
DEPEND="
=dev-rust/bytes-0.4*:=
=dev-rust/serde-1.0*:=
=dev-rust/serde_derive-1.0*:=
"
RDEPEND="
!dev-rust/protobuf:2.3.0
"