File: 04_make_serde_feature_depend_on_std.diff

package info (click to toggle)
rust-priority-queue 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 584 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Make `serde` feature depend on `std`.
Author: Antonin Delpeuch <antonin@delpeuch.eu>
Forwarded: https://github.com/garro95/priority-queue/pull/78
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,6 +47,7 @@ rustdoc-args = [
 benchmarks = []
 default = ["std"]
 std = ["indexmap/std"]
+serde = ["std", "dep:serde"]
 
 [lib]
 name = "priority_queue"