1#
2#  Copyright 2021 Google, Inc.
3#
4#  Licensed under the Apache License, Version 2.0 (the "License");
5#  you may not use this file except in compliance with the License.
6#  You may obtain a copy of the License at:
7#
8#  http://www.apache.org/licenses/LICENSE-2.0
9#
10#  Unless required by applicable law or agreed to in writing, software
11#  distributed under the License is distributed on an "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#  See the License for the specific language governing permissions and
14#  limitations under the License.
15
16[workspace]
17
18default-members = [
19  "system/gd/rust/shim",
20  "system/gd/rust/topshim",
21  "system/gd/rust/linux/mgmt",
22  "system/gd/rust/linux/service",
23  "system/gd/rust/linux/stack",
24  "system/gd/rust/linux/client",
25  "system/gd/rust/linux/utils",
26]
27
28members = [
29  "system/gd/rust/shim",
30  "system/gd/rust/topshim",
31  "system/gd/rust/linux/mgmt",
32  "system/gd/rust/linux/service",
33  "system/gd/rust/linux/stack",
34  "system/gd/rust/linux/client",
35  "system/gd/rust/linux/utils",
36  "floss/hcidoc",
37]
38
39[patch.crates-io]
40# When building out of ChromiumOS, we do not actually use featured.
41# Stub it to avoid downloading the platform2 repository.
42# See also: https://github.com/rust-lang/cargo/issues/4544
43featured = { path = "system/gd/rust/linux/repositories/featured_stub" } # ignored by ebuild
44