From 6e870bf4d2683b871a24011f85df68d3b028a4e7 Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 4 Oct 2024 16:01:32 +0800 Subject: [PATCH] Cargo: add byteorder Cargo lock: add byteorder Cargo: update --- src/Cargo.lock | 3 +-- src/libboard_artiq/Cargo.toml.tpl | 1 + src/libboard_artiq/src/lib.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Cargo.lock b/src/Cargo.lock index 7916c9f..a580a52 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -273,6 +273,7 @@ name = "libboard_artiq" version = "0.0.0" dependencies = [ "build_zynq", + "byteorder", "core_io", "crc", "embedded-hal", @@ -546,9 +547,7 @@ name = "satman" version = "0.0.0" dependencies = [ "build_zynq", - "byteorder", "core_io", - "crc", "cslice", "embedded-hal", "io", diff --git a/src/libboard_artiq/Cargo.toml.tpl b/src/libboard_artiq/Cargo.toml.tpl index c919bea..b0c2188 100644 --- a/src/libboard_artiq/Cargo.toml.tpl +++ b/src/libboard_artiq/Cargo.toml.tpl @@ -24,6 +24,7 @@ core_io = { git = "https://git.m-labs.hk/M-Labs/rs-core_io.git", rev = "e9d3edf0 embedded-hal = "0.2" nb = "1.0" void = { version = "1", default-features = false } +byteorder = { version = "1.3", default-features = false } io = { path = "../libio", features = ["byteorder"] } libboard_zynq = { path = "@@ZYNQ_RS@@/libboard_zynq" } diff --git a/src/libboard_artiq/src/lib.rs b/src/libboard_artiq/src/lib.rs index 70c4cb6..02525b3 100644 --- a/src/libboard_artiq/src/lib.rs +++ b/src/libboard_artiq/src/lib.rs @@ -3,6 +3,7 @@ #![feature(naked_functions)] #![feature(asm)] +extern crate byteorder; extern crate core_io; extern crate crc; extern crate embedded_hal;