Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehemmerle committed Apr 24, 2023
1 parent f4e5e2d commit 4a9d51d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ node-primitives={ version="2.0.0", default-features=false, git='https://github.c

[features]
default=["std"]
std =["codec/std", "scale-info/std", "serde/std", "sp-core/std", "frame-support/std", "sp-std/std"]
std =["scale-info/std", "serde/std", "frame-support/std", "sp-core/std", "sp-std/std"]
6 changes: 4 additions & 2 deletions core/src/constraints.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use core::fmt::Debug;
use alloc::vec::Vec;

pub use acl::*;
use codec::{Decode, Encode};
use frame_support::pallet_prelude::*;
use codec::MaxEncodedLen;
use scale_info::TypeInfo;
use serde::{Deserialize, Serialize};
use sp_std::{fmt::Debug, vec::Vec};

/// Supported architectures.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Encode, Decode, Serialize, Deserialize, TypeInfo)]
Expand Down
5 changes: 3 additions & 2 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! Includes types and interfaces that are foundational to the core of constraints.
#![cfg_attr(not(feature = "std"), no_std)]

//! Includes types and interfaces that are foundational to the core of constraints.
extern crate alloc;

pub use constraints::*;

pub mod constraints;

0 comments on commit 4a9d51d

Please sign in to comment.