Fletcher Woodruff | c1e4a22 | 2020-07-07 14:57:38 -0600 | [diff] [blame^] | 1 | # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
| 4 | EAPI="7" |
| 5 | |
| 6 | inherit cros-rust |
| 7 | |
| 8 | DESCRIPTION="ASCII-only equivalents to 'char', 'str' and 'String'." |
| 9 | HOMEPAGE="https://docs.rs/crate/ascii/" |
| 10 | SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate" |
| 11 | |
| 12 | LICENSE="|| ( MIT Apache-2.0 )" |
| 13 | SLOT="${PV}/${PR}" |
| 14 | KEYWORDS="*" |
| 15 | |
| 16 | # serde and serde_test are unused optional dependencies, but add them in anyways |
| 17 | # so that we don't get errors from cargo later on. |
| 18 | DEPEND=" |
| 19 | >=dev-rust/serde-1.0.25:= <dev-rust/serde-2 |
| 20 | >=dev-rust/serde_test-1:= <dev-rust/serde_test-2 |
| 21 | " |