From 8ea19148ed45c0ef27bd81c1294fa724f84fa583 Mon Sep 17 00:00:00 2001 From: Gianmarco Garrisi Date: Sun, 18 Feb 2024 20:51:07 +0100 Subject: [PATCH] Add std default feature --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e5b5361..088735e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "priority-queue" -version = "1.4.0" +version = "2.0.0" authors = ["Gianmarco Garrisi "] description = "A Priority Queue implemented as a heap with a function to efficiently change the priority of an item." repository = "https://github.com/garro95/priority-queue" @@ -17,7 +17,7 @@ build = "build.rs" autocfg = "1" [dependencies] -indexmap = "2" +indexmap = {version = "2", features = [], default-features = false} serde = { version = "1", optional = true } [dev-dependencies] @@ -28,6 +28,8 @@ uuid = {version= "1", features = ["v4", "serde"] } hashbrown = "0.14" [features] +default = ["std"] +std = ["indexmap/std"] benchmarks = [] [workspace]