cbor: rename crate to sk-cbor

In anticipation of publishing to crates.io, which already has a `cbor`
crate.
This commit is contained in:
David Drysdale
2021-06-08 11:26:24 +01:00
committed by kaczmarczyck
parent f2812e4fe2
commit 7719078d46
15 changed files with 26 additions and 16 deletions

View File

@@ -9,6 +9,6 @@ edition = "2018"
arrayref = "0.3.6"
libtock_drivers = { path = "../../third_party/libtock-drivers" }
crypto = { path = "../../libraries/crypto", features = ['std'] }
cbor = { path = "../../libraries/cbor" }
sk-cbor = { path = "../../libraries/cbor" }
ctap2 = { path = "../..", features = ['std'] }
lang_items = { path = "../../third_party/lang-items", features = ['std'] }

View File

@@ -29,6 +29,7 @@ use ctap2::ctap::hid::{ChannelID, CtapHid, HidPacket, Message};
use ctap2::ctap::status_code::Ctap2StatusCode;
use ctap2::ctap::CtapState;
use libtock_drivers::timer::{ClockValue, Timestamp};
use sk_cbor as cbor;
const COMMAND_INIT: u8 = 0x06;
const CHANNEL_BROADCAST: ChannelID = [0xFF, 0xFF, 0xFF, 0xFF];