Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions enum_index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ license = "MIT"

description = "Trait and macros for extracting Enum variant index and creating Enum by variant index"
keywords = ["enum", "macros", "index"]
categories = ["no-std", "data-structures"]
categories = ["no-std::no-alloc", "data-structures"]

homepage = "https://github.com/regresscheck/enum_index"

readme = "../README.md"

[features]
default = ["std"]
std = []

[dev-dependencies]
enum_index_derive = "0.2.0"
#enum_index_derive = { path = "../enum_index_derive"}
2 changes: 1 addition & 1 deletion enum_index/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg_attr(not(any(feature = "std", test)), no_std)]
#![no_std]

pub trait EnumIndex {
fn enum_index(&self) -> usize;
Expand Down