Skip to content

Commit

Permalink
#16 serde is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 23, 2023
1 parent 07d4c05 commit 5131174
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
14 changes: 0 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -11,7 +11,7 @@ keywords = ["memory", "map"]
categories = ["data-structures", "memory-management"]

[dependencies]
serde = { version = "1.0.160", features = ["derive"] }
serde = { version = "1.0.160", optional = true, default-features = false }

[dev-dependencies]
anyhow = "1.0.70"
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -53,6 +53,7 @@ mod index;
mod iterators;
mod map;
mod pair;
#[cfg(feature = "serde")]
mod serialization;

/// A pair in the Map.
Expand Down

0 comments on commit 5131174

Please sign in to comment.