From 62dda023ad7f01e5f07c4cbdbcc853bdbe4d07c7 Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Thu, 25 Mar 2021 20:31:29 -0700 Subject: [PATCH] Bump typenum version Starting with 1.3 it's a 2018-edition crate, so it doesn't need [macro-use] anymore. --- umbral-pre/Cargo.toml | 2 +- umbral-pre/src/lib.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/umbral-pre/Cargo.toml b/umbral-pre/Cargo.toml index 42f63a46..b79d1032 100644 --- a/umbral-pre/Cargo.toml +++ b/umbral-pre/Cargo.toml @@ -24,7 +24,7 @@ aead = { version = "0.3", features = ["heapless"] } ecdsa = "0.10" signature = "1.2" rand_core = { version = "0.5", default-features = false, features = ["getrandom"] } -typenum = "1.12" +typenum = "1.13" # typenum is a 2018-edition crate starting from 1.13 getrandom = { version = "0.1", default-features = false, features = ["wasm-bindgen"] } subtle = { version = "2.4", default-features = false } diff --git a/umbral-pre/src/lib.rs b/umbral-pre/src/lib.rs index 0ca0e3f3..a7ac86a1 100644 --- a/umbral-pre/src/lib.rs +++ b/umbral-pre/src/lib.rs @@ -91,9 +91,6 @@ extern crate alloc; -#[macro_use] -extern crate typenum; - pub mod bench; // Re-export some internals for benchmarks. mod capsule; mod capsule_frag;