File: fix-example.patch

package info (click to toggle)
rust-raw-cpuid 11.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 716 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Cargo.toml b/Cargo.toml
index 89e36e2..fdcc456 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -57,7 +57,7 @@ path = "examples/cpu.rs"
 [[example]]
 name = "serialize_deserialize"
 path = "examples/serialize_deserialize.rs"
-required-features = ["serde_json"]
+required-features = ["serde_json", "serialize"]
 
 [[example]]
 name = "topology"