Update auto-generated bindings
[ldk-c-bindings] / lightning-c-bindings / src / lib.rs
index 907c3666161eb3d63195016e8714c9ed99d7cf22..a0beebd06997321139a7be45e539ac11243bec5c 100644 (file)
 #![allow(unused_parens)]
 #![allow(unused_unsafe)]
 #![allow(unused_braces)]
+#![cfg_attr(not(feature = "std"), no_std)]
+#[cfg(not(any(feature = "std", feature = "no-std")))]
+compile_error!("at least one of the `std` or `no-std` features must be enabled");
+extern crate alloc;
 pub mod version;
 pub mod c_types;
 pub mod bitcoin;