difftreelog
ci try pure-rust builds for jrb
in: master
3 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -178,28 +178,6 @@
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
-name = "aws-lc-rs"
-version = "1.16.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ec6fb3fe69024a75fa7e1bfb48aa6cf59706a101658ea01bfd33b2b248a038f"
-dependencies = [
- "aws-lc-sys",
- "zeroize",
-]
-
-[[package]]
-name = "aws-lc-sys"
-version = "0.40.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f50037ee5e1e41e7b8f9d161680a725bd1626cb6f8c7e901f91f942850852fe7"
-dependencies = [
- "cc",
- "cmake",
- "dunce",
- "fs_extra",
-]
-
-[[package]]
name = "base64"
version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -289,8 +267,6 @@
checksum = "d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d"
dependencies = [
"find-msvc-tools",
- "jobserver",
- "libc",
"shlex",
]
@@ -392,15 +368,6 @@
]
[[package]]
-name = "cmake"
-version = "0.1.58"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
-dependencies = [
- "cc",
-]
-
-[[package]]
name = "colorchoice"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -829,23 +796,8 @@
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
-
-[[package]]
-name = "foreign-types"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
-dependencies = [
- "foreign-types-shared",
-]
[[package]]
-name = "foreign-types-shared"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
-
-[[package]]
name = "form_urlencoded"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -855,12 +807,6 @@
]
[[package]]
-name = "fs_extra"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
-
-[[package]]
name = "futures-channel"
version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -926,10 +872,8 @@
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
dependencies = [
"cfg-if",
- "js-sys",
"libc",
"wasi",
- "wasm-bindgen",
]
[[package]]
@@ -2140,22 +2084,6 @@
]
[[package]]
-name = "hyper-tls"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
-dependencies = [
- "bytes",
- "http-body-util",
- "hyper",
- "hyper-util",
- "native-tls",
- "tokio",
- "tokio-native-tls",
- "tower-service",
-]
-
-[[package]]
name = "hyper-util"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2456,16 +2384,6 @@
dependencies = [
"quote",
"syn",
-]
-
-[[package]]
-name = "jobserver"
-version = "0.1.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
-dependencies = [
- "getrandom 0.3.4",
- "libc",
]
[[package]]
@@ -2660,6 +2578,7 @@
"gix",
"peg",
"reqwest",
+ "rustls",
"serde",
"serde_json",
"thiserror",
@@ -2872,12 +2791,6 @@
]
[[package]]
-name = "lru-slab"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
-
-[[package]]
name = "matchers"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2962,23 +2875,6 @@
"libc",
"wasi",
"windows-sys 0.61.2",
-]
-
-[[package]]
-name = "native-tls"
-version = "0.2.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2"
-dependencies = [
- "libc",
- "log",
- "openssl",
- "openssl-probe",
- "openssl-sys",
- "schannel",
- "security-framework",
- "security-framework-sys",
- "tempfile",
]
[[package]]
@@ -3065,49 +2961,12 @@
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
-name = "openssl"
-version = "0.10.79"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf0b434746ee2832f4f0baf10137e1cabb18cbe6912c69e2e33263c45250f542"
-dependencies = [
- "bitflags",
- "cfg-if",
- "foreign-types",
- "libc",
- "openssl-macros",
- "openssl-sys",
-]
-
-[[package]]
-name = "openssl-macros"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
name = "openssl-probe"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
[[package]]
-name = "openssl-sys"
-version = "0.9.115"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "158fe5b292746440aa6e7a7e690e55aeb72d41505e2804c23c6973ad0e9c9781"
-dependencies = [
- "cc",
- "libc",
- "pkg-config",
- "vcpkg",
-]
-
-[[package]]
name = "option-ext"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3216,12 +3075,6 @@
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
[[package]]
-name = "pkg-config"
-version = "0.3.33"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
-
-[[package]]
name = "plain"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3342,62 +3195,6 @@
]
[[package]]
-name = "quinn"
-version = "0.11.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20"
-dependencies = [
- "bytes",
- "cfg_aliases",
- "pin-project-lite",
- "quinn-proto",
- "quinn-udp",
- "rustc-hash 2.1.2",
- "rustls",
- "socket2",
- "thiserror",
- "tokio",
- "tracing",
- "web-time",
-]
-
-[[package]]
-name = "quinn-proto"
-version = "0.11.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098"
-dependencies = [
- "aws-lc-rs",
- "bytes",
- "getrandom 0.3.4",
- "lru-slab",
- "rand",
- "ring",
- "rustc-hash 2.1.2",
- "rustls",
- "rustls-pki-types",
- "slab",
- "thiserror",
- "tinyvec",
- "tracing",
- "web-time",
-]
-
-[[package]]
-name = "quinn-udp"
-version = "0.5.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd"
-dependencies = [
- "cfg_aliases",
- "libc",
- "once_cell",
- "socket2",
- "tracing",
- "windows-sys 0.60.2",
-]
-
-[[package]]
name = "quote"
version = "1.0.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3561,21 +3358,17 @@
"http-body-util",
"hyper",
"hyper-rustls",
- "hyper-tls",
"hyper-util",
"js-sys",
"log",
"mime",
- "native-tls",
"percent-encoding",
"pin-project-lite",
- "quinn",
"rustls",
"rustls-pki-types",
"rustls-platform-verifier",
"sync_wrapper",
"tokio",
- "tokio-native-tls",
"tokio-rustls",
"tower",
"tower-http",
@@ -3652,8 +3445,8 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b"
dependencies = [
- "aws-lc-rs",
"once_cell",
+ "ring",
"rustls-pki-types",
"rustls-webpki",
"subtle",
@@ -3678,7 +3471,6 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9"
dependencies = [
- "web-time",
"zeroize",
]
@@ -3715,7 +3507,6 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
dependencies = [
- "aws-lc-rs",
"ring",
"rustls-pki-types",
"untrusted",
@@ -4190,16 +3981,6 @@
]
[[package]]
-name = "tokio-native-tls"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
-dependencies = [
- "native-tls",
- "tokio",
-]
-
-[[package]]
name = "tokio-rustls"
version = "0.26.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4435,12 +4216,6 @@
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
-
-[[package]]
-name = "vcpkg"
-version = "0.2.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version_check"
@@ -4603,16 +4378,6 @@
]
[[package]]
-name = "web-time"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
name = "webpki-root-certs"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4664,16 +4429,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
- "windows-targets 0.52.6",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.60.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
-dependencies = [
- "windows-targets 0.53.5",
+ "windows-targets",
]
[[package]]
@@ -4691,31 +4447,14 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
- "windows_aarch64_gnullvm 0.52.6",
- "windows_aarch64_msvc 0.52.6",
- "windows_i686_gnu 0.52.6",
- "windows_i686_gnullvm 0.52.6",
- "windows_i686_msvc 0.52.6",
- "windows_x86_64_gnu 0.52.6",
- "windows_x86_64_gnullvm 0.52.6",
- "windows_x86_64_msvc 0.52.6",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.53.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
-dependencies = [
- "windows-link",
- "windows_aarch64_gnullvm 0.53.1",
- "windows_aarch64_msvc 0.53.1",
- "windows_i686_gnu 0.53.1",
- "windows_i686_gnullvm 0.53.1",
- "windows_i686_msvc 0.53.1",
- "windows_x86_64_gnu 0.53.1",
- "windows_x86_64_gnullvm 0.53.1",
- "windows_x86_64_msvc 0.53.1",
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
]
[[package]]
@@ -4723,36 +4462,18 @@
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
[[package]]
name = "windows_i686_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
[[package]]
name = "windows_i686_gnullvm"
@@ -4761,58 +4482,28 @@
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
-name = "windows_i686_gnullvm"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
-
-[[package]]
name = "windows_i686_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
-name = "windows_i686_msvc"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
-
-[[package]]
name = "windows_x86_64_gnu"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.53.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
[[package]]
name = "wit-bindgen"
Cargo.tomldiffbeforeafterboth1[workspace]2members = [3 "crates/*",4 "bindings/jrsonnet-web",5 "bindings/jsonnet",6 "cmds/*",7 "tests",8 "xtask",9]10default-members = [11 "cmds/jrsonnet",12 "cmds/jrsonnet-fmt",13 "cmds/jrb",14 "bindings/jsonnet",15]16resolver = "2"1718[workspace.package]19authors = ["Yaroslav Bolyukin <iam@lach.pw>"]20edition = "2024"21license = "MIT"22repository = "https://github.com/CertainLach/jrsonnet"23version = "0.5.0-pre98"2425[workspace.dependencies]26jrsonnet-evaluator = { path = "./crates/jrsonnet-evaluator", version = "0.5.0-pre98" }27jrsonnet-macros = { path = "./crates/jrsonnet-macros", version = "0.5.0-pre98" }28jrsonnet-ir = { path = "./crates/jrsonnet-ir", version = "0.5.0-pre98" }29jrsonnet-ir-parser = { path = "./crates/jrsonnet-ir-parser", version = "0.5.0-pre98" }30jrsonnet-peg-parser = { path = "./crates/jrsonnet-peg-parser", version = "0.5.0-pre98" }31jrsonnet-rowan-parser = { path = "./crates/jrsonnet-rowan-parser", version = "0.5.0-pre98" }32jrsonnet-interner = { path = "./crates/jrsonnet-interner", version = "0.5.0-pre98" }33jrsonnet-stdlib = { path = "./crates/jrsonnet-stdlib", version = "0.5.0-pre98" }34jrsonnet-cli = { path = "./crates/jrsonnet-cli", version = "0.5.0-pre98" }35jrsonnet-types = { path = "./crates/jrsonnet-types", version = "0.5.0-pre98" }36jrsonnet-formatter = { path = "./crates/jrsonnet-formatter", version = "0.5.0-pre98" }37jrsonnet-lexer = { path = "./crates/jrsonnet-lexer", version = "0.5.0-pre98" }38jrsonnet-pkg = { path = "./crates/jrsonnet-pkg", version = "0.5.0-pre98" }39jrsonnet-gcmodule = { version = "0.5.0" }40# Diagnostics.41# hi-doc is my library, which handles text formatting very well, but isn't polished enough yet42# Previous implementation was based on annotate-snippets, which I don't like for many reasons.43#44# I'm against using miette, because I want to reuse data between interpreter and annotations, yet miette45# and other libraries want to handle spans etc by itself, which is okay for compiler diagnostics, but is46# bad for interpreter, where interpreter and parser are paired much closer.47hi-doc = { version = "0.3.0", default-features = false }4849# CLI50clap = "4.5"51clap_complete = "4.5"5253# Parsing, manifestification is implemented manually everywhere54serde = "1.0.228"55serde_json = "1.0.149"56serde-saphyr = { version = "0.0.26", default-features = false, features = [57 "deserialize",58] }5960# Error handling61anyhow = "1.0.101"62thiserror = "2.0.18"6364# Code formatting65dprint-core = "0.67.4"6667# Evaluator68stacker = "0.1.23"69smallvec = "1.15.1"70educe = { version = "0.6.0", default-features = false }71url = "2.5.8"72rustversion = "1.0.22"7374# Stdlib hashing functions75md5 = "0.8.0"76sha1 = "0.11.0"77sha2 = "0.11.0"78sha3 = "0.11.0"79hex = "0.4.3"8081# Source code parsing.82# Jrsonnet has two parsers for jsonnet - one is for execution, and another is for better parsing diagnostics/lints/LSP.83# First (and fast one) is based on peg, second is based on rowan.84peg = "0.8.5"85logos = "0.16.1"86ungrammar = "1.16.1"87rowan = "0.16.1"8889mimallocator = "0.1.3"90indoc = "2.0"91tempfile = "3.24"92pathdiff = "0.2.3"93hashbrown = "0.17.0"94static_assertions = "1.1"95rustc-hash = "2.1"96num-bigint = "0.4.6"97strsim = "0.11.1"98proc-macro2 = "1.0"99quote = "1.0"100syn = "2.0"101drop_bomb = "0.1.5"102base64 = "0.22.1"103indexmap = "2.13.0"104itertools = "0.14.0"105xshell = "0.2.7"106107regex = "1.12"108lru = "0.18.0"109110syn-dissect-closure = "0.1.0"111112# Tests/benchmarks113insta = { version = "1.46", features = ["glob"] }114criterion = { version = "0.8" }115strip-ansi-escapes = "0.2.1"116nix = { version = "0.31", features = ["process"] }117118# Web119wasm-bindgen = "=0.2.106"120wasm-bindgen-futures = "0.4.56"121js-sys = "0.3.83"122console_error_panic_hook = "0.1"123getrandom = "0.3.4"124125# Bundler126tracing = "0.1.44"127tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }128reqwest = { version = "0.13", default-features = false, features = [129 "blocking",130] }131zip = { version = "8", default-features = false, features = ["deflate"] }132directories = "6.0.0"133gix = { version = "0.83.0", features = ["blocking-network-client"] }134camino = { version = "1.2.2", features = ["serde1"] }135rustls = { version = "0.23", default-features = false }136137[workspace.lints.rust]138unsafe_op_in_unsafe_fn = "deny"139140# TODO: add docs everywhere141# missing_doc = "warn"142143elided_lifetimes_in_paths = "allow"144explicit_outlives_requirements = "allow"145noop_method_call = "allow"146single_use_lifetimes = "allow"147variant_size_differences = "allow"148macro_expanded_macro_exports_accessed_by_absolute_paths = "allow"149150[workspace.lints.rustdoc]151all = "warn"152153[workspace.lints.clippy]154all = { level = "warn", priority = -1 }155nursery = { level = "warn", priority = -1 }156pedantic = { level = "warn", priority = -1 }157158ptr_arg = "allow"159# Too verbose160must_use_candidate = "allow"161# A lot of functions pass around errors thrown by code162missing_errors_doc = "allow"163# A lot of pointers have interior Rc164needless_pass_by_value = "allow"165# Its fine166wildcard_imports = "allow"167enum_glob_use = "allow"168module_name_repetitions = "allow"169# False positives170# https://github.com/rust-lang/rust-clippy/issues/6902171use_self = "allow"172# https://github.com/rust-lang/rust-clippy/issues/8539173iter_with_drain = "allow"174type_repetition_in_bounds = "allow"175# ci is being run with nightly, but library should work on stable176missing_const_for_fn = "allow"177# too many false-positives with .expect() calls178missing_panics_doc = "allow"179# false positive for IStr type. There is an configuration option for180# such cases, but it doesn't work:181# https://github.com/rust-lang/rust-clippy/issues/9801182mutable_key_type = "allow"183# false positives184redundant_pub_crate = "allow"185# Sometimes code is fancier without that186manual_let_else = "allow"187# Something is broken about that lint, can't be allowed for188# codegenerated-stdlib block189similar_names = "allow"190191[profile.release]192opt-level = 3193lto = "fat"194codegen-units = 1195debug = 0196panic = "abort"197strip = true198199[profile.releasedebug]200inherits = "release"201debug = 2202panic = "unwind"203strip = falsecrates/jrsonnet-pkg/Cargo.tomldiffbeforeafterboth--- a/crates/jrsonnet-pkg/Cargo.toml
+++ b/crates/jrsonnet-pkg/Cargo.toml
@@ -20,21 +20,15 @@
peg.workspace = true
# Gix for git repos, reqwest + zip for github
+gix = { workspace = true, features = ["blocking-http-transport-reqwest"] }
+reqwest = { workspace = true, features = ["rustls-no-provider"] }
zip.workspace = true
url.workspace = true
camino.workspace = true
+# ring is not ideal and not recommended by rustls authors... But is easiest to build,
+# and there should be little risk for bundling use case
+rustls = { workspace = true, features = ["ring"] }
+
# Global cache dir
directories.workspace = true
-
-[target.'cfg(not(any(all(target_os = "windows", target_env = "gnu"), target_vendor = "apple")))'.dependencies]
-gix = { workspace = true, features = [
- "blocking-http-transport-reqwest-rust-tls",
-] }
-reqwest = { workspace = true, features = ["rustls"] }
-
-[target.'cfg(any(all(target_os = "windows", target_env = "gnu"), target_vendor = "apple"))'.dependencies]
-gix = { workspace = true, features = [
- "blocking-http-transport-reqwest-native-tls",
-] }
-reqwest = { workspace = true, features = ["native-tls"] }