crosvm/cros_fdt/Cargo.toml
Jakob Vukalovic 3b29c72913 cros_fdt: Preserve FDT node/prop insertion order
Due to the use of BTreeMap for node and property storage, nodes and
properties are iterated over and written in alphabetical order.
This change replaces BTreeMap with IndexMap which preserves original
insertion order.

Bug: 331402446
Test: cd cros_fdt && cargo test
Change-Id: I10fc74a21bcfbdc71bdc46d61d850809e35773f3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5401894
Reviewed-by: Steven Moreland <smoreland@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Jakob Vukalović <jakobvukalovic@google.com>
2024-03-28 10:46:22 +00:00

11 lines
178 B
TOML

[package]
name = "cros_fdt"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[dependencies]
anyhow = "*"
indexmap = "*"
remain = "*"
thiserror = "1.0.20"