xref: /aosp_15_r20/bootable/libbootloader/gbl/libgbl/Cargo.toml (revision 5225e6b173e52d2efc6bcf950c27374fd72adabc)
1# Copyright 2023, The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# For now this file is only provided so that `rustfmt` can run, but it may
16# be worthwhile to set it up properly as a reference implementation for building
17# with libgbl.
18
19[package]
20name = "gbl"
21version = "0.1.0"
22
23[features]
24default = []
25alloc = []
26
27[dependencies]
28gbl_storage = {version = "0.1", path = "../libstorage"}
29spin = "0.9"
30static_assertions = "0"
31lazy_static = "1"
32zerocopy = {version = "=0.7.32"}
33crc32fast = "1.3"
34
35[dev-dependencies]
36itertools = "0"
37