File: link-ruby-feature.patch

package info (click to toggle)
rust-magnus 0.8.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,756 kB
  • sloc: ruby: 150; sh: 17; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 860 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
31
32
33
34
35
36
Description: Add the link-ruby feature to fix Ruby linking
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-03-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -48,12 +48,12 @@ rustdoc-args = [
 ]
 
 [features]
-bytes = ["dep:bytes"]
-chrono = ["dep:chrono"]
+bytes = ["rb-sys", "dep:bytes"]
+chrono = ["rb-sys", "dep:chrono"]
 default = ["io"]
-embed = ["rb-sys/link-ruby"]
-io = []
-old-api = []
+embed = ["rb-sys", "rb-sys/link-ruby"]
+io = ["rb-sys"]
+old-api = ["rb-sys"]
 rb-sys = []
 
 [lib]
@@ -270,7 +270,7 @@ version = "0.3"
 
 [dev-dependencies.rb-sys]
 version = "0.9.113"
-features = ["stable-api-compiled-fallback"]
+features = ["stable-api-compiled-fallback", "link-ruby"]
 default-features = false
 
 [build-dependencies.rb-sys-env]