Update libraries/ to the new libtock.

This commit is contained in:
Guillaume Endignoux
2020-07-10 10:38:41 +02:00
parent e1fd1f2257
commit b30b88156a
3 changed files with 3 additions and 4 deletions

View File

@@ -10,10 +10,10 @@ license = "Apache-2.0"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
libtock = { path = "../../third_party/libtock-rs" } libtock_drivers = { path = "../../third_party/libtock-drivers" }
cbor = { path = "../cbor" } cbor = { path = "../cbor" }
arrayref = "0.3.6" arrayref = "0.3.6"
subtle = { version = "2.2", default-features = false, features = ["nightly"] } subtle = { version = "2.2.3", default-features = false, features = ["nightly"] }
byteorder = { version = "1", default-features = false } byteorder = { version = "1", default-features = false }
hex = { version = "0.3.2", default-features = false, optional = true } hex = { version = "0.3.2", default-features = false, optional = true }
ring = { version = "0.16.11", optional = true } ring = { version = "0.16.11", optional = true }

View File

@@ -21,7 +21,6 @@ extern crate subtle;
#[macro_use] #[macro_use]
extern crate arrayref; extern crate arrayref;
extern crate byteorder; extern crate byteorder;
extern crate libtock;
#[macro_use] #[macro_use]
extern crate cbor; extern crate cbor;

View File

@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
use libtock::rng; use libtock_drivers::rng;
// Lightweight RNG trait to generate uniformly distributed 256 bits. // Lightweight RNG trait to generate uniformly distributed 256 bits.
pub trait Rng256 { pub trait Rng256 {