diff --git a/src/Cargo.lock b/src/Cargo.lock index 739f2e6..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", diff --git a/src/libboard_artiq/Cargo.toml.tpl b/src/libboard_artiq/Cargo.toml.tpl index 995fc05..7d533ec 100644 --- a/src/libboard_artiq/Cargo.toml.tpl +++ b/src/libboard_artiq/Cargo.toml.tpl @@ -23,6 +23,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;