File: disable-cli.patch

package info (click to toggle)
rust-z-base-32 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: python: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
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
--- z-base-32.orig/Cargo.toml
+++ z-base-32/Cargo.toml
@@ -28,2 +28,3 @@
 repository = "https://github.com/matusf/z-base-32"
+autobins = false
 
@@ -40,6 +41,2 @@
 
-[[bin]]
-name = "zbase32"
-required-features = ["cli"]
-
 [dependencies.anyhow]
@@ -48,7 +45,2 @@
 
-[dependencies.clap]
-version = "4.5.1"
-features = ["derive"]
-optional = true
-
 [dependencies.pyo3]
@@ -62,6 +54,2 @@
 [features]
-cli = [
-    "dep:clap",
-    "dep:anyhow",
-]
 python = ["dep:pyo3"]