History

fix!: `max-pure` now builds without any C build tooling due to lack of `openssl-sys`. (#602)

To make this work, we leave the `reqwest` configuration to downstream crates. Note that this means downstream will have to select their TLS settings themselves, so builds may fail after upgrade until this is done. An example for a `reqwest` configuration can be found in the `gitoxide` Cargo.toml in the root of the `gitoxide` repository.

Sebastian Thiel committed 3 years ago

Commit 4308a201 parent bc2a3997 files · +309 −125Browse files

Unified · Split

7 files
  1. Cargo.lock +287 −115
  2. Cargo.toml +6 −3
  3. Makefile +3 −2
  4. deny.toml +10 −0
  5. git-transport/Cargo.toml +1 −1
  6. tests/journey/gix.sh +1 −1
  7. tests/snapshots/plumbing/no-repo/pack/explode/broken-with-objects-dir-skip-checks-success-tree-miniz-oxide-max +1 −3
Cargo.lock+287−115
@@ -563,22 +563,6 @@ dependencies = [ · 562 unmodified lines
563563 "winapi",
564564 ]
565565
566−[[package]]
567−name = "core-foundation"
568−version = "0.9.3"
569−source = "registry+https://github.com/rust-lang/crates.io-index"
570−checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
571−dependencies = [
572− "core-foundation-sys",
573− "libc",
574−]
575−
576−[[package]]
577−name = "core-foundation-sys"
578−version = "0.8.3"
579−source = "registry+https://github.com/rust-lang/crates.io-index"
580−checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
581−
582566 [[package]]
583567 name = "cpufeatures"
584568 version = "0.2.5"
@@ -841,6 +825,12 @@ dependencies = [ · 256 unmodified lines
841825 "parking_lot_core 0.9.4",
842826 ]
843827
828+[[package]]
829+name = "data-encoding"
830+version = "2.3.2"
831+source = "registry+https://github.com/rust-lang/crates.io-index"
832+checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
833+
844834 [[package]]
845835 name = "defer"
846836 version = "0.1.0"
@@ -930,6 +920,18 @@ dependencies = [ · 83 unmodified lines
930920 "cfg-if",
931921 ]
932922
923+[[package]]
924+name = "enum-as-inner"
925+version = "0.5.1"
926+source = "registry+https://github.com/rust-lang/crates.io-index"
927+checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
928+dependencies = [
929+ "heck",
930+ "proc-macro2",
931+ "quote",
932+ "syn",
933+]
934+
933935 [[package]]
934936 name = "env_logger"
935937 version = "0.9.1"
@@ -999,21 +1001,6 @@ version = "1.0.7" · 63 unmodified lines
9991001 source = "registry+https://github.com/rust-lang/crates.io-index"
10001002 checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
10011003
1002−[[package]]
1003−name = "foreign-types"
1004−version = "0.3.2"
1005−source = "registry+https://github.com/rust-lang/crates.io-index"
1006−checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1007−dependencies = [
1008− "foreign-types-shared",
1009−]
1010−
1011−[[package]]
1012−name = "foreign-types-shared"
1013−version = "0.1.1"
1014−source = "registry+https://github.com/rust-lang/crates.io-index"
1015−checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1016−
10171004 [[package]]
10181005 name = "form_urlencoded"
10191006 version = "1.1.0"
@@ -1172,7 +1159,7 @@ dependencies = [ · 152 unmodified lines
11721159 "itoa",
11731160 "nom",
11741161 "pretty_assertions",
1175− "quick-error",
1162+ "quick-error 2.0.1",
11761163 "serde",
11771164 ]
11781165
@@ -1198,7 +1185,7 @@ name = "git-bitmap" · 19 unmodified lines
11981185 version = "0.1.2"
11991186 dependencies = [
12001187 "git-testtools",
1201− "quick-error",
1188+ "quick-error 2.0.1",
12021189 ]
12031190
12041191 [[package]]
@@ -1362,7 +1349,7 @@ dependencies = [ · 157 unmodified lines
13621349 "once_cell",
13631350 "parking_lot 0.12.1",
13641351 "prodash",
1365− "quick-error",
1352+ "quick-error 2.0.1",
13661353 "sha1",
13671354 "sha1_smol",
13681355 "walkdir",
@@ -1432,7 +1419,7 @@ version = "2.2.0" · 63 unmodified lines
14321419 dependencies = [
14331420 "fastrand",
14341421 "git-tempfile",
1435− "quick-error",
1422+ "quick-error 2.0.1",
14361423 "tempfile",
14371424 ]
14381425
@@ -1444,7 +1431,7 @@ dependencies = [ · 5 unmodified lines
14441431 "document-features",
14451432 "git-actor",
14461433 "git-testtools",
1447− "quick-error",
1434+ "quick-error 2.0.1",
14481435 "serde",
14491436 ]
14501437
@@ -1611,7 +1598,7 @@ version = "0.3.0" · 160 unmodified lines
16111598 dependencies = [
16121599 "bstr",
16131600 "btoi",
1614− "quick-error",
1601+ "quick-error 2.0.1",
16151602 ]
16161603
16171604 [[package]]
@@ -1903,6 +1890,7 @@ dependencies = [ · 285 unmodified lines
19031890 "gitoxide-core",
19041891 "owo-colors",
19051892 "prodash",
1893+ "reqwest",
19061894 "tabled",
19071895 ]
19081896
@@ -2018,6 +2006,17 @@ dependencies = [ · 109 unmodified lines
20182006 "winapi",
20192007 ]
20202008
2009+[[package]]
2010+name = "hostname"
2011+version = "0.3.1"
2012+source = "registry+https://github.com/rust-lang/crates.io-index"
2013+checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867"
2014+dependencies = [
2015+ "libc",
2016+ "match_cfg",
2017+ "winapi",
2018+]
2019+
20212020 [[package]]
20222021 name = "http"
20232022 version = "0.2.8"
@@ -2089,16 +2088,27 @@ dependencies = [ · 65 unmodified lines
20892088 ]
20902089
20912090 [[package]]
2092−name = "hyper-tls"
2093−version = "0.5.0"
2091+name = "hyper-rustls"
2092+version = "0.23.1"
20942093 source = "registry+https://github.com/rust-lang/crates.io-index"
2095−checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
2094+checksum = "59df7c4e19c950e6e0e868dcc0a300b09a9b88e9ec55bd879ca819087a77355d"
20962095 dependencies = [
2097− "bytes",
2096+ "http",
20982097 "hyper",
2099− "native-tls",
2098+ "rustls",
21002099 "tokio",
2101− "tokio-native-tls",
2100+ "tokio-rustls",
2101+]
2102+
2103+[[package]]
2104+name = "idna"
2105+version = "0.2.3"
2106+source = "registry+https://github.com/rust-lang/crates.io-index"
2107+checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
2108+dependencies = [
2109+ "matches",
2110+ "unicode-bidi",
2111+ "unicode-normalization",
21022112 ]
21032113
21042114 [[package]]
@@ -2163,6 +2173,18 @@ dependencies = [ · 58 unmodified lines
21632173 "winapi",
21642174 ]
21652175
2176+[[package]]
2177+name = "ipconfig"
2178+version = "0.3.1"
2179+source = "registry+https://github.com/rust-lang/crates.io-index"
2180+checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be"
2181+dependencies = [
2182+ "socket2",
2183+ "widestring",
2184+ "winapi",
2185+ "winreg",
2186+]
2187+
21662188 [[package]]
21672189 name = "ipnet"
21682190 version = "2.5.0"
@@ -2322,6 +2344,15 @@ dependencies = [ · 153 unmodified lines
23222344 "value-bag",
23232345 ]
23242346
2347+[[package]]
2348+name = "lru-cache"
2349+version = "0.1.2"
2350+source = "registry+https://github.com/rust-lang/crates.io-index"
2351+checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c"
2352+dependencies = [
2353+ "linked-hash-map",
2354+]
2355+
23252356 [[package]]
23262357 name = "lzma-sys"
23272358 version = "0.1.20"
@@ -2339,6 +2370,18 @@ version = "1.0.2" · 11 unmodified lines
23392370 source = "registry+https://github.com/rust-lang/crates.io-index"
23402371 checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
23412372
2373+[[package]]
2374+name = "match_cfg"
2375+version = "0.1.0"
2376+source = "registry+https://github.com/rust-lang/crates.io-index"
2377+checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4"
2378+
2379+[[package]]
2380+name = "matches"
2381+version = "0.1.9"
2382+source = "registry+https://github.com/rust-lang/crates.io-index"
2383+checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
2384+
23422385 [[package]]
23432386 name = "maybe-async"
23442387 version = "0.2.6"
@@ -2417,24 +2460,6 @@ dependencies = [ · 72 unmodified lines
24172460 "windows-sys 0.42.0",
24182461 ]
24192462
2420−[[package]]
2421−name = "native-tls"
2422−version = "0.2.11"
2423−source = "registry+https://github.com/rust-lang/crates.io-index"
2424−checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
2425−dependencies = [
2426− "lazy_static",
2427− "libc",
2428− "log",
2429− "openssl",
2430− "openssl-probe",
2431− "openssl-sys",
2432− "schannel",
2433− "security-framework",
2434− "security-framework-sys",
2435− "tempfile",
2436−]
2437−
24382463 [[package]]
24392464 name = "nix"
24402465 version = "0.21.0"
@@ -2534,32 +2559,6 @@ version = "11.1.3" · 93 unmodified lines
25342559 source = "registry+https://github.com/rust-lang/crates.io-index"
25352560 checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
25362561
2537−[[package]]
2538−name = "openssl"
2539−version = "0.10.42"
2540−source = "registry+https://github.com/rust-lang/crates.io-index"
2541−checksum = "12fc0523e3bd51a692c8850d075d74dc062ccf251c0110668cbd921917118a13"
2542−dependencies = [
2543− "bitflags",
2544− "cfg-if",
2545− "foreign-types",
2546− "libc",
2547− "once_cell",
2548− "openssl-macros",
2549− "openssl-sys",
2550−]
2551−
2552−[[package]]
2553−name = "openssl-macros"
2554−version = "0.1.0"
2555−source = "registry+https://github.com/rust-lang/crates.io-index"
2556−checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
2557−dependencies = [
2558− "proc-macro2",
2559− "quote",
2560− "syn",
2561−]
2562−
25632562 [[package]]
25642563 name = "openssl-probe"
25652564 version = "0.1.5"
@@ -2741,6 +2740,12 @@ dependencies = [ · 175 unmodified lines
27412740 "winapi",
27422741 ]
27432742
2743+[[package]]
2744+name = "ppv-lite86"
2745+version = "0.2.17"
2746+source = "registry+https://github.com/rust-lang/crates.io-index"
2747+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
2748+
27442749 [[package]]
27452750 name = "pretty_assertions"
27462751 version = "1.3.0"
@@ -2832,6 +2837,12 @@ dependencies = [ · 85 unmodified lines
28322837 "unicase",
28332838 ]
28342839
2840+[[package]]
2841+name = "quick-error"
2842+version = "1.2.3"
2843+source = "registry+https://github.com/rust-lang/crates.io-index"
2844+checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
2845+
28352846 [[package]]
28362847 name = "quick-error"
28372848 version = "2.0.1"
@@ -2847,6 +2858,36 @@ dependencies = [ · 9 unmodified lines
28472858 "proc-macro2",
28482859 ]
28492860
2861+[[package]]
2862+name = "rand"
2863+version = "0.8.5"
2864+source = "registry+https://github.com/rust-lang/crates.io-index"
2865+checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
2866+dependencies = [
2867+ "libc",
2868+ "rand_chacha",
2869+ "rand_core",
2870+]
2871+
2872+[[package]]
2873+name = "rand_chacha"
2874+version = "0.3.1"
2875+source = "registry+https://github.com/rust-lang/crates.io-index"
2876+checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
2877+dependencies = [
2878+ "ppv-lite86",
2879+ "rand_core",
2880+]
2881+
2882+[[package]]
2883+name = "rand_core"
2884+version = "0.6.4"
2885+source = "registry+https://github.com/rust-lang/crates.io-index"
2886+checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
2887+dependencies = [
2888+ "getrandom",
2889+]
2890+
28502891 [[package]]
28512892 name = "rayon"
28522893 version = "1.5.3"
@@ -2925,9 +2966,9 @@ dependencies = [ · 72 unmodified lines
29252966
29262967 [[package]]
29272968 name = "reqwest"
2928−version = "0.11.12"
2969+version = "0.11.13"
29292970 source = "registry+https://github.com/rust-lang/crates.io-index"
2930−checksum = "431949c384f4e2ae07605ccaa56d1d9d2ecdb5cadd4f9577ccfab29f2e5149fc"
2971+checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c"
29312972 dependencies = [
29322973 "base64",
29332974 "bytes",
@@ -2938,34 +2979,83 @@ dependencies = [ · 4 unmodified lines
29382979 "http",
29392980 "http-body",
29402981 "hyper",
2941− "hyper-tls",
2982+ "hyper-rustls",
29422983 "ipnet",
29432984 "js-sys",
29442985 "log",
29452986 "mime",
2946− "native-tls",
29472987 "once_cell",
29482988 "percent-encoding",
29492989 "pin-project-lite",
2990+ "rustls",
2991+ "rustls-pemfile",
29502992 "serde",
29512993 "serde_json",
29522994 "serde_urlencoded",
29532995 "tokio",
2954− "tokio-native-tls",
2996+ "tokio-rustls",
29552997 "tower-service",
2998+ "trust-dns-resolver",
29562999 "url",
29573000 "wasm-bindgen",
29583001 "wasm-bindgen-futures",
29593002 "web-sys",
3003+ "webpki-roots",
29603004 "winreg",
29613005 ]
29623006
3007+[[package]]
3008+name = "resolv-conf"
3009+version = "0.7.0"
3010+source = "registry+https://github.com/rust-lang/crates.io-index"
3011+checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00"
3012+dependencies = [
3013+ "hostname",
3014+ "quick-error 1.2.3",
3015+]
3016+
3017+[[package]]
3018+name = "ring"
3019+version = "0.16.20"
3020+source = "registry+https://github.com/rust-lang/crates.io-index"
3021+checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
3022+dependencies = [
3023+ "cc",
3024+ "libc",
3025+ "once_cell",
3026+ "spin",
3027+ "untrusted",
3028+ "web-sys",
3029+ "winapi",
3030+]
3031+
29633032 [[package]]
29643033 name = "rustc-hash"
29653034 version = "1.1.0"
29663035 source = "registry+https://github.com/rust-lang/crates.io-index"
29673036 checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
29683037
3038+[[package]]
3039+name = "rustls"
3040+version = "0.20.7"
3041+source = "registry+https://github.com/rust-lang/crates.io-index"
3042+checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c"
3043+dependencies = [
3044+ "log",
3045+ "ring",
3046+ "sct",
3047+ "webpki",
3048+]
3049+
3050+[[package]]
3051+name = "rustls-pemfile"
3052+version = "1.0.1"
3053+source = "registry+https://github.com/rust-lang/crates.io-index"
3054+checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55"
3055+dependencies = [
3056+ "base64",
3057+]
3058+
29693059 [[package]]
29703060 name = "rustversion"
29713061 version = "1.0.9"
@@ -3004,26 +3094,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 32 unmodified lines
30043094 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
30053095
30063096 [[package]]
3007−name = "security-framework"
3008−version = "2.7.0"
3097+name = "sct"
3098+version = "0.7.0"
30093099 source = "registry+https://github.com/rust-lang/crates.io-index"
3010−checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c"
3100+checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
30113101 dependencies = [
3012− "bitflags",
3013− "core-foundation",
3014− "core-foundation-sys",
3015− "libc",
3016− "security-framework-sys",
3017−]
3018−
3019−[[package]]
3020−name = "security-framework-sys"
3021−version = "2.6.1"
3022−source = "registry+https://github.com/rust-lang/crates.io-index"
3023−checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556"
3024−dependencies = [
3025− "core-foundation-sys",
3026− "libc",
3102+ "ring",
3103+ "untrusted",
30273104 ]
30283105
30293106 [[package]]
@@ -3207,6 +3284,12 @@ dependencies = [ · 177 unmodified lines
32073284 "winapi",
32083285 ]
32093286
3287+[[package]]
3288+name = "spin"
3289+version = "0.5.2"
3290+source = "registry+https://github.com/rust-lang/crates.io-index"
3291+checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
3292+
32103293 [[package]]
32113294 name = "static_assertions"
32123295 version = "1.1.0"
@@ -3387,13 +3470,14 @@ dependencies = [ · 174 unmodified lines
33873470 ]
33883471
33893472 [[package]]
3390−name = "tokio-native-tls"
3391−version = "0.3.0"
3473+name = "tokio-rustls"
3474+version = "0.23.4"
33923475 source = "registry+https://github.com/rust-lang/crates.io-index"
3393−checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
3476+checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
33943477 dependencies = [
3395− "native-tls",
3478+ "rustls",
33963479 "tokio",
3480+ "webpki",
33973481 ]
33983482
33993483 [[package]]
@@ -3444,9 +3528,21 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" · 44 unmodified lines
34443528 dependencies = [
34453529 "cfg-if",
34463530 "pin-project-lite",
3531+ "tracing-attributes",
34473532 "tracing-core",
34483533 ]
34493534
3535+[[package]]
3536+name = "tracing-attributes"
3537+version = "0.1.23"
3538+source = "registry+https://github.com/rust-lang/crates.io-index"
3539+checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
3540+dependencies = [
3541+ "proc-macro2",
3542+ "quote",
3543+ "syn",
3544+]
3545+
34503546 [[package]]
34513547 name = "tracing-core"
34523548 version = "0.1.30"
@@ -3467,6 +3563,51 @@ dependencies = [ · 14 unmodified lines
34673563 "rayon",
34683564 ]
34693565
3566+[[package]]
3567+name = "trust-dns-proto"
3568+version = "0.22.0"
3569+source = "registry+https://github.com/rust-lang/crates.io-index"
3570+checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26"
3571+dependencies = [
3572+ "async-trait",
3573+ "cfg-if",
3574+ "data-encoding",
3575+ "enum-as-inner",
3576+ "futures-channel",
3577+ "futures-io",
3578+ "futures-util",
3579+ "idna 0.2.3",
3580+ "ipnet",
3581+ "lazy_static",
3582+ "rand",
3583+ "smallvec",
3584+ "thiserror",
3585+ "tinyvec",
3586+ "tokio",
3587+ "tracing",
3588+ "url",
3589+]
3590+
3591+[[package]]
3592+name = "trust-dns-resolver"
3593+version = "0.22.0"
3594+source = "registry+https://github.com/rust-lang/crates.io-index"
3595+checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe"
3596+dependencies = [
3597+ "cfg-if",
3598+ "futures-util",
3599+ "ipconfig",
3600+ "lazy_static",
3601+ "lru-cache",
3602+ "parking_lot 0.12.1",
3603+ "resolv-conf",
3604+ "smallvec",
3605+ "thiserror",
3606+ "tokio",
3607+ "tracing",
3608+ "trust-dns-proto",
3609+]
3610+
34703611 [[package]]
34713612 name = "try-lock"
34723613 version = "0.2.3"
@@ -3561,6 +3702,12 @@ version = "0.1.10" · 88 unmodified lines
35613702 source = "registry+https://github.com/rust-lang/crates.io-index"
35623703 checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
35633704
3705+[[package]]
3706+name = "untrusted"
3707+version = "0.7.1"
3708+source = "registry+https://github.com/rust-lang/crates.io-index"
3709+checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
3710+
35643711 [[package]]
35653712 name = "url"
35663713 version = "2.3.1"
@@ -3568,7 +3715,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 1 unmodified line
35683715 checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
35693716 dependencies = [
35703717 "form_urlencoded",
3571− "idna",
3718+ "idna 0.3.0",
35723719 "percent-encoding",
35733720 ]
35743721
@@ -3709,6 +3856,25 @@ dependencies = [ · 134 unmodified lines
37093856 "wasm-bindgen",
37103857 ]
37113858
3859+[[package]]
3860+name = "webpki"
3861+version = "0.22.0"
3862+source = "registry+https://github.com/rust-lang/crates.io-index"
3863+checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
3864+dependencies = [
3865+ "ring",
3866+ "untrusted",
3867+]
3868+
3869+[[package]]
3870+name = "webpki-roots"
3871+version = "0.22.5"
3872+source = "registry+https://github.com/rust-lang/crates.io-index"
3873+checksum = "368bfe657969fb01238bb756d351dcade285e0f6fcbd36dcb23359a5169975be"
3874+dependencies = [
3875+ "webpki",
3876+]
3877+
37123878 [[package]]
37133879 name = "wepoll-ffi"
37143880 version = "0.1.2"
@@ -3718,6 +3884,12 @@ dependencies = [ · 3 unmodified lines
37183884 "cc",
37193885 ]
37203886
3887+[[package]]
3888+name = "widestring"
3889+version = "0.5.1"
3890+source = "registry+https://github.com/rust-lang/crates.io-index"
3891+checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"
3892+
37213893 [[package]]
37223894 name = "winapi"
37233895 version = "0.3.9"
Cargo.toml+6−3
@@ -57,7 +57,7 @@ lean-async = ["fast", "pretty-cli", "gitoxide-core-tools", "gitoxide-core-async- · 56 unmodified lines
5757 small = ["pretty-cli", "git-features/rustsha1", "git-features/zlib-rust-backend", "prodash-render-line", "atty" ]
5858
5959 ## Makes the crate execute as fast as possible without pulling in C libraries, while keeping everything else minimal akin to the `small` build.
60−max-pure = ["pretty-cli", "git-features/rustsha1", "git-features/zlib-rust-backend", "prodash-render-line", "prodash-render-tui", "git-repository/max-performance-safe", "http-client-curl", "gitoxide-core-blocking-client", "gitoxide-core-tools", "prodash/render-line-autoconfigure" ]
60+max-pure = ["pretty-cli", "git-features/rustsha1", "git-features/zlib-rust-backend", "prodash-render-line", "prodash-render-tui", "git-repository/max-performance-safe", "http-client-reqwest", "gitoxide-core-blocking-client", "gitoxide-core-tools", "prodash/render-line-autoconfigure" ]
6161
6262 #! ### `gitoxide-core` Configuration
6363
@@ -69,8 +69,10 @@ gitoxide-core-tools = ["gitoxide-core/organize", "gitoxide-core/estimate-hours"] · 5 unmodified lines
6969
7070 ## Use blocking client networking.
7171 gitoxide-core-blocking-client = ["gitoxide-core/blocking-client"]
72−## Support synchronous 'http' and 'https' transports (e.g. for clone, fetch and push) at the expense of compile times and binary size.
73−http-client-curl = ["git-repository/blocking-http-transport"]
72+## Support synchronous 'http' and 'https' transports (e.g. for clone, fetch and push) using **curl**.
73+http-client-curl = ["git-repository/blocking-http-transport-curl"]
74+## Support synchronous 'http' and 'https' transports (e.g. for clone, fetch and push) using **reqwest**.
75+http-client-reqwest = ["git-repository/blocking-http-transport-reqwest", "reqwest-for-configuration-only", "reqwest-for-configuration-only/rustls-tls", "reqwest-for-configuration-only/trust-dns"]
7476 ## Use async client networking.
7577 gitoxide-core-async-client = ["gitoxide-core/async-client", "futures-lite"]
7678
@@ -85,6 +87,7 @@ anyhow = "1.0.42" · 8 unmodified lines
8587 gitoxide-core = { version = "^0.20.0", path = "gitoxide-core" }
8688 git-features = { version = "^0.23.1", path = "git-features" }
8789 git-repository = { version = "^0.28.0", path = "git-repository", default-features = false }
90+reqwest-for-configuration-only = { package = "reqwest", version = "0.11.13", default-features = false, optional = true }
8891
8992 clap = { version = "3.2.5", features = ["derive", "cargo"] }
9093 prodash = { version = "21", optional = true, default-features = false }
Makefile+3−2
@@ -127,7 +127,8 @@ check: ## Build all code in suitable configurations · 126 unmodified lines
127127 cd git-repository && cargo check --no-default-features --features async-network-client \
128128 && cargo check --no-default-features --features async-network-client-async-std \
129129 && cargo check --no-default-features --features blocking-network-client \
130− && cargo check --no-default-features --features blocking-network-client,blocking-http-transport \
130+ && cargo check --no-default-features --features blocking-http-transport-curl \
131+ && cargo check --no-default-features --features blocking-http-transport-reqwest \
131132 && cargo check --no-default-features --features max-performance \
132133 && cargo check --no-default-features --features max-performance-safe \
133134 && cargo check --no-default-features
@@ -178,7 +179,7 @@ journey-tests: always ## run journey tests (max) · 44 unmodified lines
178179 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max
179180
180181 journey-tests-pure: always ## run journey tests (max-pure)
181− cargo build
182+ cargo build --no-default-features --features max-pure
182183 cargo build --package git-testtools --bin jtt
183184 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max-pure
184185
deny.toml+10−0
@@ -41,6 +41,7 @@ allow = [ · 40 unmodified lines
4141 "MIT",
4242 "ISC",
4343 "Unicode-DFS-2016",
44+ "LicenseRef-ring"
4445 ]
4546 # Lint level for licenses considered copyleft
4647 copyleft = "allow"
@@ -61,3 +62,12 @@ confidence-threshold = 0.8 · 14 unmodified lines
6162 [bans]
6263 # Lint level for when multiple versions of the same crate are detected
6364 multiple-versions = "allow"
65+
66+
67+[[licenses.clarify]]
68+name = "ring"
69+expression = "LicenseRef-ring"
70+license-files = [
71+ { path = "LICENSE", hash = 0xbd0eed23 },
72+]
73+
git-transport/Cargo.toml+1−1
@@ -75,7 +75,7 @@ base64 = { version = "0.13.0", optional = true } · 74 unmodified lines
7575 curl = { version = "0.4", optional = true, features = ["static-curl", "static-ssl", "zlib-ng-compat"] }
7676
7777 # for http-client-reqwest
78−reqwest = { version = "0.11.12", optional = true, features = ["blocking"] }
78+reqwest = { version = "0.11.12", optional = true, default-features = false, features = ["blocking"] }
7979
8080 ## If used in conjunction with `async-client`, the `connect()` method will become available along with supporting the git protocol over TCP,
8181 ## where the TCP stream is created using this crate.
tests/journey/gix.sh+1−1
@@ -38,7 +38,7 @@ title "git-tempfile crate" · 37 unmodified lines
3838
3939 (when "running the example program to check order of signal handlers"
4040 it "fails as the process aborts" && {
41− expect_run $ABORTED cargo run --example interrupt-handler-allows-graceful-shutdown
41+ expect_run $ABORTED cargo run --no-default-features --example interrupt-handler-allows-graceful-shutdown
4242 }
4343 it "cleans up the tempfile it created" && {
4444 expect_run $WITH_FAILURE test -e "example-file.tmp"
tests/snapshots/plumbing/no-repo/pack/explode/broken-with-objects-dir-skip-checks-success-tree-miniz-oxide-max+1−3
@@ -36,8 +36,6 @@ · 35 unmodified lines
3636 │   └── 48234cfc7b4f0c9475d24d4c386783533a8034
3737 ├── 88
3838 │   └── 58983d81b0eef76eb55d21a0d96b7b16846eca
39−├── a2
40−│   └── 9ebd0e0fcbcd2a0842dd44cc7c22a90a310a3a
4139 ├── af
4240 │   └── 4f6405296dec699321ca59d48583ffa0323b0e
4341 ├── b2
@@ -53,4 +51,4 @@ · 9 unmodified lines
5351 └── e8
5452 └── 00b9c207e17f9b11e321cc1fba5dfe08af4222
5553
56−26 directories, 27 files
54+25 directories, 26 files

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t