File: rust.patch

package info (click to toggle)
glome 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 716 kB
  • sloc: ansic: 2,468; python: 508; sh: 149; makefile: 20
file content (30 lines) | stat: -rw-r--r-- 796 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
29
30
Description: Fix Debian build of Rust CLI
Author: Valentin Vidic <vvidic@debian.org>
Last-Update: 2025-05-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -22,7 +22,7 @@
 openssl = { version = "0.10", optional = true }
 
 # cli
-base64 = { version = "0.21", optional = true }
+base64 = { version = "0.22", optional = true }
 clap = { version = "4", features = ["derive"], optional = true}
 
 [dev-dependencies]
@@ -34,11 +34,11 @@
 
 [lib]
 name = "glome"
-path = "src/lib.rs"
+path = "rust/src/lib.rs"
 
 [[bin]]
 name = "glome"
-path = "src/cli/bin.rs"
+path = "rust/src/cli/bin.rs"
 
 # The binary has more dependencies than the library. We allow skipping the binary and its
 # dependencies by hiding it behind a feature.