| # 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='Rust library for accessing USB devices.' |
| HOMEPAGE='https://github.com/a1ien/rusb' |
| SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate" |
| |
| LICENSE="MIT" |
| SLOT="${PV}/${PR}" |
| KEYWORDS="*" |
| |
| DEPEND=" |
| =dev-rust/libc-0.2*:= |
| =dev-rust/libusb1-sys-0.5*:= |
| " |
| RDEPEND="${DEPEND}" |
| |
| # This file was automatically generated by cargo2ebuild.py |
| |
| # Tests fail with: |
| # munmap_chunk(): invalid pointer |
| # Very likely a memory safety bug! https://github.com/a1ien/rusb/issues/118 |
| RESTRICT="test" |