blob: 1acf368961f0e6ef6dbedd0ed0b96717f2ed7b7b [file] [log] [blame]
Fletcher Woodruffc1e4a222020-07-07 14:57:38 -06001# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI="7"
5
6inherit cros-rust
7
8DESCRIPTION="ASCII-only equivalents to 'char', 'str' and 'String'."
9HOMEPAGE="https://docs.rs/crate/ascii/"
10SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
11
12LICENSE="|| ( MIT Apache-2.0 )"
13SLOT="${PV}/${PR}"
14KEYWORDS="*"
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.
18DEPEND="
19 >=dev-rust/serde-1.0.25:= <dev-rust/serde-2
20 >=dev-rust/serde_test-1:= <dev-rust/serde_test-2
21"