diff --git a/src/Cargo.lock b/src/Cargo.lock index 1cd121c..f31af23 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -278,6 +278,7 @@ name = "libboard_artiq" version = "0.0.0" dependencies = [ "build_zynq", + "byteorder", "core_io", "crc", "embedded-hal", @@ -559,9 +560,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 ab8270f..5416459 100644 --- a/src/libboard_artiq/Cargo.toml.tpl +++ b/src/libboard_artiq/Cargo.toml.tpl @@ -24,6 +24,7 @@ core_io = { version = "0.1", features = ["collections"] } 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;