73 lines
2.0 KiB
Diff
73 lines
2.0 KiB
Diff
From a567591980eeb3bddaac8d13be38baf0ac6e15a7 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
|
|
<jan.christian@gruenhage.xyz>
|
|
Date: Wed, 8 Jun 2022 16:15:55 +0200
|
|
Subject: [PATCH] use system libraries
|
|
|
|
---
|
|
Cargo.lock | 2 ++
|
|
Cargo.toml | 4 ++++
|
|
crates/old/nu_plugin_from_sqlite/Cargo.toml | 2 +-
|
|
crates/old/nu_plugin_to_sqlite/Cargo.toml | 2 +-
|
|
4 files changed, 8 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Cargo.lock b/Cargo.lock
|
|
index 7d36ecddf..1360ada48 100644
|
|
--- a/Cargo.lock
|
|
+++ b/Cargo.lock
|
|
@@ -2544,6 +2544,7 @@ dependencies = [
|
|
"tempfile",
|
|
"time 0.3.13",
|
|
"winres",
|
|
+ "zstd",
|
|
]
|
|
|
|
[[package]]
|
|
@@ -5679,4 +5680,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
|
|
dependencies = [
|
|
"cc",
|
|
"libc",
|
|
+ "pkg-config",
|
|
]
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
|
index 6199fbaa0..5edf138c3 100644
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -121,3 +121,7 @@ debug = false
|
|
[[bin]]
|
|
name = "nu"
|
|
path = "src/main.rs"
|
|
+
|
|
+[dependencies.zstd]
|
|
+features = ["pkg-config"]
|
|
+version = ">=0.0.0"
|
|
diff --git a/crates/old/nu_plugin_from_sqlite/Cargo.toml b/crates/old/nu_plugin_from_sqlite/Cargo.toml
|
|
index 151e1e9bb..dea47e809 100644
|
|
--- a/crates/old/nu_plugin_from_sqlite/Cargo.toml
|
|
+++ b/crates/old/nu_plugin_from_sqlite/Cargo.toml
|
|
@@ -18,7 +18,7 @@ nu-source = { path="../nu-source", version = "0.67.0" }
|
|
tempfile = "3.2.0"
|
|
|
|
[dependencies.rusqlite]
|
|
-features = ["bundled", "blob"]
|
|
+features = ["blob"]
|
|
version = "0.26.1"
|
|
|
|
[build-dependencies]
|
|
diff --git a/crates/old/nu_plugin_to_sqlite/Cargo.toml b/crates/old/nu_plugin_to_sqlite/Cargo.toml
|
|
index 34d93b9cc..e0d778c39 100644
|
|
--- a/crates/old/nu_plugin_to_sqlite/Cargo.toml
|
|
+++ b/crates/old/nu_plugin_to_sqlite/Cargo.toml
|
|
@@ -18,7 +18,7 @@ nu-source = { path="../nu-source", version = "0.67.0" }
|
|
tempfile = "3.2.0"
|
|
|
|
[dependencies.rusqlite]
|
|
-features = ["bundled", "blob"]
|
|
+features = ["blob"]
|
|
version = "0.26.1"
|
|
|
|
[build-dependencies]
|
|
--
|
|
2.37.2
|
|
|