diff --git a/src/ctap/storage.rs b/src/ctap/storage.rs index a4dcaf2..de5eb03 100644 --- a/src/ctap/storage.rs +++ b/src/ctap/storage.rs @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + #[cfg(feature = "with_ctap2_1")] use crate::ctap::data_formats::{extract_array, extract_text_string}; use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialSource}; diff --git a/third_party/lang-items/Cargo.toml b/third_party/lang-items/Cargo.toml index eb1fa2e..39ffbf0 100644 --- a/third_party/lang-items/Cargo.toml +++ b/third_party/lang-items/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0" edition = "2018" [dependencies] -libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["custom_panic_handler", "custom_alloc_error_handler"] } +libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["alloc_init", "custom_panic_handler", "custom_alloc_error_handler"] } libtock_drivers = { path = "../libtock-drivers" } linked_list_allocator = { version = "0.8.1", default-features = false }