blob: a04f479f4a5246b2539c2ee8569acaf03027a4ca [file] [log] [blame]
Allen Webb7ef7d6d2021-05-06 17:27:25 -05001# Copyright 2021 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI="7"
5
6CROS_RUST_REMOVE_DEV_DEPS=1
7
8inherit cros-rust
9
10DESCRIPTION="An implementation of regular expressions for Rust. This implementation uses
11finite automata and guarantees linear time matching on all inputs."
12HOMEPAGE="https://github.com/rust-lang/regex"
13SRC_URI="https://crates.io/api/v1/crates/${PN}/${PV}/download -> ${P}.crate"
14
15LICENSE="|| ( MIT Apache-2.0 )"
16SLOT="${PV}/${PR}"
17KEYWORDS="*"
18
19DEPEND="
20 >=dev-rust/aho-corasick-0.7.18:= <dev-rust/aho-corasick-0.8.0
21 >=dev-rust/memchr-2.4.0:= <dev-rust/memchr-3.0.0
22 >=dev-rust/regex-syntax-0.6.25:= <dev-rust/regex-syntax-0.7.0
23"
24RDEPEND="${DEPEND}"
25
26# This file was automatically generated by cargo2ebuild.py