File: 2003_no_feature_generate_schema.patch

package info (click to toggle)
btm 0.10.2%2B20250107-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,884 kB
  • sloc: python: 418; makefile: 23; sh: 22
file content (28 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: avoid non-default feature generate_schema
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-09-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,6 @@
 
 # Should not be included in builds.
 logging = ["fern", "log", "time"]
-generate_schema = ["schemars", "serde_json", "strum"]
 
 [dependencies]
 anyhow = "1.0.86"
@@ -101,11 +100,6 @@
 log = { version = "0.4.22", optional = true }
 time = { version = "0.3.37", features = ["local-offset", "formatting", "macros"], optional = true }
 
-# These are just used for JSON schema generation.
-schemars = { version = "0.8.21", optional = true }
-serde_json = { version = "1.0.135", optional = true }
-strum = { version = "0.26.3", features = ["derive"], optional = true }
-
 [target.'cfg(unix)'.dependencies]
 libc = "0.2.169"