cbor: drop std feature, use core in tests (#327)

This commit is contained in:
David Drysdale
2021-06-16 13:40:18 +00:00
committed by GitHub
parent 77f6db6110
commit f2812e4fe2
10 changed files with 38 additions and 39 deletions

View File

@@ -12,11 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![cfg_attr(not(feature = "std"), no_std)]
#![no_std]
extern crate alloc;
#[cfg(feature = "std")]
extern crate core;
pub mod macros;
pub mod reader;