Skip to content

Commit

Permalink
simplify features
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Sep 28, 2024
1 parent aedcca6 commit 01ca600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sdk/epoch-schedule/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ solana-clock = { workspace = true }
static_assertions = { workspace = true }

[features]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "std"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"]
serde = ["dep:serde", "dep:serde_derive"]
std = []

[lints]
workspace = true
2 changes: 1 addition & 1 deletion sdk/epoch-schedule/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! epochs increasing in slots until they last for [`DEFAULT_SLOTS_PER_EPOCH`].
#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
#![no_std]
#[cfg(feature = "std")]
#[cfg(feature = "frozen-abi")]
extern crate std;

#[cfg(feature = "serde")]
Expand Down

0 comments on commit 01ca600

Please sign in to comment.