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
563 "winapi",563 "winapi",
564]564]
565 565
566[[package]]
567name = "core-foundation"
568version = "0.9.3"
569source = "registry+https://github.com/rust-lang/crates.io-index"
570checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
571dependencies = [
572 "core-foundation-sys",
573 "libc",
574]
575
576[[package]]
577name = "core-foundation-sys"
578version = "0.8.3"
579source = "registry+https://github.com/rust-lang/crates.io-index"
580checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
581
582[[package]]566[[package]]
583name = "cpufeatures"567name = "cpufeatures"
584version = "0.2.5"568version = "0.2.5"
@@ -841,6 +825,12 @@ dependencies = [ · 256 unmodified lines
841 "parking_lot_core 0.9.4",825 "parking_lot_core 0.9.4",
842]826]
843 827
828[[package]]
829name = "data-encoding"
830version = "2.3.2"
831source = "registry+https://github.com/rust-lang/crates.io-index"
832checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
833
844[[package]]834[[package]]
845name = "defer"835name = "defer"
846version = "0.1.0"836version = "0.1.0"
@@ -930,6 +920,18 @@ dependencies = [ · 83 unmodified lines
930 "cfg-if",920 "cfg-if",
931]921]
932 922
923[[package]]
924name = "enum-as-inner"
925version = "0.5.1"
926source = "registry+https://github.com/rust-lang/crates.io-index"
927checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116"
928dependencies = [
929 "heck",
930 "proc-macro2",
931 "quote",
932 "syn",
933]
934
933[[package]]935[[package]]
934name = "env_logger"936name = "env_logger"
935version = "0.9.1"937version = "0.9.1"
@@ -999,21 +1001,6 @@ version = "1.0.7" · 63 unmodified lines
999source = "registry+https://github.com/rust-lang/crates.io-index"1001source = "registry+https://github.com/rust-lang/crates.io-index"
1000checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"1002checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
1001 1003
1002[[package]]
1003name = "foreign-types"
1004version = "0.3.2"
1005source = "registry+https://github.com/rust-lang/crates.io-index"
1006checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1007dependencies = [
1008 "foreign-types-shared",
1009]
1010
1011[[package]]
1012name = "foreign-types-shared"
1013version = "0.1.1"
1014source = "registry+https://github.com/rust-lang/crates.io-index"
1015checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1016
1017[[package]]1004[[package]]
1018name = "form_urlencoded"1005name = "form_urlencoded"
1019version = "1.1.0"1006version = "1.1.0"
@@ -1172,7 +1159,7 @@ dependencies = [ · 152 unmodified lines
1172 "itoa",1159 "itoa",
1173 "nom",1160 "nom",
1174 "pretty_assertions",1161 "pretty_assertions",
1175 "quick-error",1162 "quick-error 2.0.1",
1176 "serde",1163 "serde",
1177]1164]
1178 1165
@@ -1198,7 +1185,7 @@ name = "git-bitmap" · 19 unmodified lines
1198version = "0.1.2"1185version = "0.1.2"
1199dependencies = [1186dependencies = [
1200 "git-testtools",1187 "git-testtools",
1201 "quick-error",1188 "quick-error 2.0.1",
1202]1189]
1203 1190
1204[[package]]1191[[package]]
@@ -1362,7 +1349,7 @@ dependencies = [ · 157 unmodified lines
1362 "once_cell",1349 "once_cell",
1363 "parking_lot 0.12.1",1350 "parking_lot 0.12.1",
1364 "prodash",1351 "prodash",
1365 "quick-error",1352 "quick-error 2.0.1",
1366 "sha1",1353 "sha1",
1367 "sha1_smol",1354 "sha1_smol",
1368 "walkdir",1355 "walkdir",
@@ -1432,7 +1419,7 @@ version = "2.2.0" · 63 unmodified lines
1432dependencies = [1419dependencies = [
1433 "fastrand",1420 "fastrand",
1434 "git-tempfile",1421 "git-tempfile",
1435 "quick-error",1422 "quick-error 2.0.1",
1436 "tempfile",1423 "tempfile",
1437]1424]
1438 1425
@@ -1444,7 +1431,7 @@ dependencies = [ · 5 unmodified lines
1444 "document-features",1431 "document-features",
1445 "git-actor",1432 "git-actor",
1446 "git-testtools",1433 "git-testtools",
1447 "quick-error",1434 "quick-error 2.0.1",
1448 "serde",1435 "serde",
1449]1436]
1450 1437
@@ -1611,7 +1598,7 @@ version = "0.3.0" · 160 unmodified lines
1611dependencies = [1598dependencies = [
1612 "bstr",1599 "bstr",
1613 "btoi",1600 "btoi",
1614 "quick-error",1601 "quick-error 2.0.1",
1615]1602]
1616 1603
1617[[package]]1604[[package]]
@@ -1903,6 +1890,7 @@ dependencies = [ · 285 unmodified lines
1903 "gitoxide-core",1890 "gitoxide-core",
1904 "owo-colors",1891 "owo-colors",
1905 "prodash",1892 "prodash",
1893 "reqwest",
1906 "tabled",1894 "tabled",
1907]1895]
1908 1896
@@ -2018,6 +2006,17 @@ dependencies = [ · 109 unmodified lines
2018 "winapi",2006 "winapi",
2019]2007]
2020 2008
2009[[package]]
2010name = "hostname"
2011version = "0.3.1"
2012source = "registry+https://github.com/rust-lang/crates.io-index"
2013checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867"
2014dependencies = [
2015 "libc",
2016 "match_cfg",
2017 "winapi",
2018]
2019
2021[[package]]2020[[package]]
2022name = "http"2021name = "http"
2023version = "0.2.8"2022version = "0.2.8"
@@ -2089,16 +2088,27 @@ dependencies = [ · 65 unmodified lines
2089]2088]
2090 2089
2091[[package]]2090[[package]]
2092name = "hyper-tls"2091name = "hyper-rustls"
2093version = "0.5.0"2092version = "0.23.1"
2094source = "registry+https://github.com/rust-lang/crates.io-index"2093source = "registry+https://github.com/rust-lang/crates.io-index"
2095checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"2094checksum = "59df7c4e19c950e6e0e868dcc0a300b09a9b88e9ec55bd879ca819087a77355d"
2096dependencies = [2095dependencies = [
2097 "bytes",2096 "http",
2098 "hyper",2097 "hyper",
2099 "native-tls",2098 "rustls",
2100 "tokio",2099 "tokio",
2101 "tokio-native-tls",2100 "tokio-rustls",
2101]
2102
2103[[package]]
2104name = "idna"
2105version = "0.2.3"
2106source = "registry+https://github.com/rust-lang/crates.io-index"
2107checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
2108dependencies = [
2109 "matches",
2110 "unicode-bidi",
2111 "unicode-normalization",
2102]2112]
2103 2113
2104[[package]]2114[[package]]
@@ -2163,6 +2173,18 @@ dependencies = [ · 58 unmodified lines
2163 "winapi",2173 "winapi",
2164]2174]
2165 2175
2176[[package]]
2177name = "ipconfig"
2178version = "0.3.1"
2179source = "registry+https://github.com/rust-lang/crates.io-index"
2180checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be"
2181dependencies = [
2182 "socket2",
2183 "widestring",
2184 "winapi",
2185 "winreg",
2186]
2187
2166[[package]]2188[[package]]
2167name = "ipnet"2189name = "ipnet"
2168version = "2.5.0"2190version = "2.5.0"
@@ -2322,6 +2344,15 @@ dependencies = [ · 153 unmodified lines
2322 "value-bag",2344 "value-bag",
2323]2345]
2324 2346
2347[[package]]
2348name = "lru-cache"
2349version = "0.1.2"
2350source = "registry+https://github.com/rust-lang/crates.io-index"
2351checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c"
2352dependencies = [
2353 "linked-hash-map",
2354]
2355
2325[[package]]2356[[package]]
2326name = "lzma-sys"2357name = "lzma-sys"
2327version = "0.1.20"2358version = "0.1.20"
@@ -2339,6 +2370,18 @@ version = "1.0.2" · 11 unmodified lines
2339source = "registry+https://github.com/rust-lang/crates.io-index"2370source = "registry+https://github.com/rust-lang/crates.io-index"
2340checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"2371checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
2341 2372
2373[[package]]
2374name = "match_cfg"
2375version = "0.1.0"
2376source = "registry+https://github.com/rust-lang/crates.io-index"
2377checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4"
2378
2379[[package]]
2380name = "matches"
2381version = "0.1.9"
2382source = "registry+https://github.com/rust-lang/crates.io-index"
2383checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
2384
2342[[package]]2385[[package]]
2343name = "maybe-async"2386name = "maybe-async"
2344version = "0.2.6"2387version = "0.2.6"
@@ -2417,24 +2460,6 @@ dependencies = [ · 72 unmodified lines
2417 "windows-sys 0.42.0",2460 "windows-sys 0.42.0",
2418]2461]
2419 2462
2420[[package]]
2421name = "native-tls"
2422version = "0.2.11"
2423source = "registry+https://github.com/rust-lang/crates.io-index"
2424checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
2425dependencies = [
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
2438[[package]]2463[[package]]
2439name = "nix"2464name = "nix"
2440version = "0.21.0"2465version = "0.21.0"
@@ -2534,32 +2559,6 @@ version = "11.1.3" · 93 unmodified lines
2534source = "registry+https://github.com/rust-lang/crates.io-index"2559source = "registry+https://github.com/rust-lang/crates.io-index"
2535checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"2560checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
2536 2561
2537[[package]]
2538name = "openssl"
2539version = "0.10.42"
2540source = "registry+https://github.com/rust-lang/crates.io-index"
2541checksum = "12fc0523e3bd51a692c8850d075d74dc062ccf251c0110668cbd921917118a13"
2542dependencies = [
2543 "bitflags",
2544 "cfg-if",
2545 "foreign-types",
2546 "libc",
2547 "once_cell",
2548 "openssl-macros",
2549 "openssl-sys",
2550]
2551
2552[[package]]
2553name = "openssl-macros"
2554version = "0.1.0"
2555source = "registry+https://github.com/rust-lang/crates.io-index"
2556checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
2557dependencies = [
2558 "proc-macro2",
2559 "quote",
2560 "syn",
2561]
2562
2563[[package]]2562[[package]]
2564name = "openssl-probe"2563name = "openssl-probe"
2565version = "0.1.5"2564version = "0.1.5"
@@ -2741,6 +2740,12 @@ dependencies = [ · 175 unmodified lines
2741 "winapi",2740 "winapi",
2742]2741]
2743 2742
2743[[package]]
2744name = "ppv-lite86"
2745version = "0.2.17"
2746source = "registry+https://github.com/rust-lang/crates.io-index"
2747checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
2748
2744[[package]]2749[[package]]
2745name = "pretty_assertions"2750name = "pretty_assertions"
2746version = "1.3.0"2751version = "1.3.0"
@@ -2832,6 +2837,12 @@ dependencies = [ · 85 unmodified lines
2832 "unicase",2837 "unicase",
2833]2838]
2834 2839
2840[[package]]
2841name = "quick-error"
2842version = "1.2.3"
2843source = "registry+https://github.com/rust-lang/crates.io-index"
2844checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
2845
2835[[package]]2846[[package]]
2836name = "quick-error"2847name = "quick-error"
2837version = "2.0.1"2848version = "2.0.1"
@@ -2847,6 +2858,36 @@ dependencies = [ · 9 unmodified lines
2847 "proc-macro2",2858 "proc-macro2",
2848]2859]
2849 2860
2861[[package]]
2862name = "rand"
2863version = "0.8.5"
2864source = "registry+https://github.com/rust-lang/crates.io-index"
2865checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
2866dependencies = [
2867 "libc",
2868 "rand_chacha",
2869 "rand_core",
2870]
2871
2872[[package]]
2873name = "rand_chacha"
2874version = "0.3.1"
2875source = "registry+https://github.com/rust-lang/crates.io-index"
2876checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
2877dependencies = [
2878 "ppv-lite86",
2879 "rand_core",
2880]
2881
2882[[package]]
2883name = "rand_core"
2884version = "0.6.4"
2885source = "registry+https://github.com/rust-lang/crates.io-index"
2886checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
2887dependencies = [
2888 "getrandom",
2889]
2890
2850[[package]]2891[[package]]
2851name = "rayon"2892name = "rayon"
2852version = "1.5.3"2893version = "1.5.3"
@@ -2925,9 +2966,9 @@ dependencies = [ · 72 unmodified lines
2925 2966
2926[[package]]2967[[package]]
2927name = "reqwest"2968name = "reqwest"
2928version = "0.11.12"2969version = "0.11.13"
2929source = "registry+https://github.com/rust-lang/crates.io-index"2970source = "registry+https://github.com/rust-lang/crates.io-index"
2930checksum = "431949c384f4e2ae07605ccaa56d1d9d2ecdb5cadd4f9577ccfab29f2e5149fc"2971checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c"
2931dependencies = [2972dependencies = [
2932 "base64",2973 "base64",
2933 "bytes",2974 "bytes",
@@ -2938,34 +2979,83 @@ dependencies = [ · 4 unmodified lines
2938 "http",2979 "http",
2939 "http-body",2980 "http-body",
2940 "hyper",2981 "hyper",
2941 "hyper-tls",2982 "hyper-rustls",
2942 "ipnet",2983 "ipnet",
2943 "js-sys",2984 "js-sys",
2944 "log",2985 "log",
2945 "mime",2986 "mime",
2946 "native-tls",
2947 "once_cell",2987 "once_cell",
2948 "percent-encoding",2988 "percent-encoding",
2949 "pin-project-lite",2989 "pin-project-lite",
2990 "rustls",
2991 "rustls-pemfile",
2950 "serde",2992 "serde",
2951 "serde_json",2993 "serde_json",
2952 "serde_urlencoded",2994 "serde_urlencoded",
2953 "tokio",2995 "tokio",
2954 "tokio-native-tls",2996 "tokio-rustls",
2955 "tower-service",2997 "tower-service",
2998 "trust-dns-resolver",
2956 "url",2999 "url",
2957 "wasm-bindgen",3000 "wasm-bindgen",
2958 "wasm-bindgen-futures",3001 "wasm-bindgen-futures",
2959 "web-sys",3002 "web-sys",
3003 "webpki-roots",
2960 "winreg",3004 "winreg",
2961]3005]
2962 3006
3007[[package]]
3008name = "resolv-conf"
3009version = "0.7.0"
3010source = "registry+https://github.com/rust-lang/crates.io-index"
3011checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00"
3012dependencies = [
3013 "hostname",
3014 "quick-error 1.2.3",
3015]
3016
3017[[package]]
3018name = "ring"
3019version = "0.16.20"
3020source = "registry+https://github.com/rust-lang/crates.io-index"
3021checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
3022dependencies = [
3023 "cc",
3024 "libc",
3025 "once_cell",
3026 "spin",
3027 "untrusted",
3028 "web-sys",
3029 "winapi",
3030]
3031
2963[[package]]3032[[package]]
2964name = "rustc-hash"3033name = "rustc-hash"
2965version = "1.1.0"3034version = "1.1.0"
2966source = "registry+https://github.com/rust-lang/crates.io-index"3035source = "registry+https://github.com/rust-lang/crates.io-index"
2967checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"3036checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
2968 3037
3038[[package]]
3039name = "rustls"
3040version = "0.20.7"
3041source = "registry+https://github.com/rust-lang/crates.io-index"
3042checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c"
3043dependencies = [
3044 "log",
3045 "ring",
3046 "sct",
3047 "webpki",
3048]
3049
3050[[package]]
3051name = "rustls-pemfile"
3052version = "1.0.1"
3053source = "registry+https://github.com/rust-lang/crates.io-index"
3054checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55"
3055dependencies = [
3056 "base64",
3057]
3058
2969[[package]]3059[[package]]
2970name = "rustversion"3060name = "rustversion"
2971version = "1.0.9"3061version = "1.0.9"
@@ -3004,26 +3094,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 32 unmodified lines
3004checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"3094checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
3005 3095
3006[[package]]3096[[package]]
3007name = "security-framework"3097name = "sct"
3008version = "2.7.0"3098version = "0.7.0"
3009source = "registry+https://github.com/rust-lang/crates.io-index"3099source = "registry+https://github.com/rust-lang/crates.io-index"
3010checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c"3100checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
3011dependencies = [3101dependencies = [
3012 "bitflags",3102 "ring",
3013 "core-foundation",3103 "untrusted",
3014 "core-foundation-sys",
3015 "libc",
3016 "security-framework-sys",
3017]
3018
3019[[package]]
3020name = "security-framework-sys"
3021version = "2.6.1"
3022source = "registry+https://github.com/rust-lang/crates.io-index"
3023checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556"
3024dependencies = [
3025 "core-foundation-sys",
3026 "libc",
3027]3104]
3028 3105
3029[[package]]3106[[package]]
@@ -3207,6 +3284,12 @@ dependencies = [ · 177 unmodified lines
3207 "winapi",3284 "winapi",
3208]3285]
3209 3286
3287[[package]]
3288name = "spin"
3289version = "0.5.2"
3290source = "registry+https://github.com/rust-lang/crates.io-index"
3291checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
3292
3210[[package]]3293[[package]]
3211name = "static_assertions"3294name = "static_assertions"
3212version = "1.1.0"3295version = "1.1.0"
@@ -3387,13 +3470,14 @@ dependencies = [ · 174 unmodified lines
3387]3470]
3388 3471
3389[[package]]3472[[package]]
3390name = "tokio-native-tls"3473name = "tokio-rustls"
3391version = "0.3.0"3474version = "0.23.4"
3392source = "registry+https://github.com/rust-lang/crates.io-index"3475source = "registry+https://github.com/rust-lang/crates.io-index"
3393checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"3476checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
3394dependencies = [3477dependencies = [
3395 "native-tls",3478 "rustls",
3396 "tokio",3479 "tokio",
3480 "webpki",
3397]3481]
3398 3482
3399[[package]]3483[[package]]
@@ -3444,9 +3528,21 @@ checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" · 44 unmodified lines
3444dependencies = [3528dependencies = [
3445 "cfg-if",3529 "cfg-if",
3446 "pin-project-lite",3530 "pin-project-lite",
3531 "tracing-attributes",
3447 "tracing-core",3532 "tracing-core",
3448]3533]
3449 3534
3535[[package]]
3536name = "tracing-attributes"
3537version = "0.1.23"
3538source = "registry+https://github.com/rust-lang/crates.io-index"
3539checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
3540dependencies = [
3541 "proc-macro2",
3542 "quote",
3543 "syn",
3544]
3545
3450[[package]]3546[[package]]
3451name = "tracing-core"3547name = "tracing-core"
3452version = "0.1.30"3548version = "0.1.30"
@@ -3467,6 +3563,51 @@ dependencies = [ · 14 unmodified lines
3467 "rayon",3563 "rayon",
3468]3564]
3469 3565
3566[[package]]
3567name = "trust-dns-proto"
3568version = "0.22.0"
3569source = "registry+https://github.com/rust-lang/crates.io-index"
3570checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26"
3571dependencies = [
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]]
3592name = "trust-dns-resolver"
3593version = "0.22.0"
3594source = "registry+https://github.com/rust-lang/crates.io-index"
3595checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe"
3596dependencies = [
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
3470[[package]]3611[[package]]
3471name = "try-lock"3612name = "try-lock"
3472version = "0.2.3"3613version = "0.2.3"
@@ -3561,6 +3702,12 @@ version = "0.1.10" · 88 unmodified lines
3561source = "registry+https://github.com/rust-lang/crates.io-index"3702source = "registry+https://github.com/rust-lang/crates.io-index"
3562checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"3703checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
3563 3704
3705[[package]]
3706name = "untrusted"
3707version = "0.7.1"
3708source = "registry+https://github.com/rust-lang/crates.io-index"
3709checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
3710
3564[[package]]3711[[package]]
3565name = "url"3712name = "url"
3566version = "2.3.1"3713version = "2.3.1"
@@ -3568,7 +3715,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 1 unmodified line
3568checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"3715checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
3569dependencies = [3716dependencies = [
3570 "form_urlencoded",3717 "form_urlencoded",
3571 "idna",3718 "idna 0.3.0",
3572 "percent-encoding",3719 "percent-encoding",
3573]3720]
3574 3721
@@ -3709,6 +3856,25 @@ dependencies = [ · 134 unmodified lines
3709 "wasm-bindgen",3856 "wasm-bindgen",
3710]3857]
3711 3858
3859[[package]]
3860name = "webpki"
3861version = "0.22.0"
3862source = "registry+https://github.com/rust-lang/crates.io-index"
3863checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
3864dependencies = [
3865 "ring",
3866 "untrusted",
3867]
3868
3869[[package]]
3870name = "webpki-roots"
3871version = "0.22.5"
3872source = "registry+https://github.com/rust-lang/crates.io-index"
3873checksum = "368bfe657969fb01238bb756d351dcade285e0f6fcbd36dcb23359a5169975be"
3874dependencies = [
3875 "webpki",
3876]
3877
3712[[package]]3878[[package]]
3713name = "wepoll-ffi"3879name = "wepoll-ffi"
3714version = "0.1.2"3880version = "0.1.2"
@@ -3718,6 +3884,12 @@ dependencies = [ · 3 unmodified lines
3718 "cc",3884 "cc",
3719]3885]
3720 3886
3887[[package]]
3888name = "widestring"
3889version = "0.5.1"
3890source = "registry+https://github.com/rust-lang/crates.io-index"
3891checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"
3892
3721[[package]]3893[[package]]
3722name = "winapi"3894name = "winapi"
3723version = "0.3.9"3895version = "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
57small = ["pretty-cli", "git-features/rustsha1", "git-features/zlib-rust-backend", "prodash-render-line", "atty" ]57small = ["pretty-cli", "git-features/rustsha1", "git-features/zlib-rust-backend", "prodash-render-line", "atty" ]
58 58
59## Makes the crate execute as fast as possible without pulling in C libraries, while keeping everything else minimal akin to the `small` build.59## Makes the crate execute as fast as possible without pulling in C libraries, while keeping everything else minimal akin to the `small` build.
60max-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" ]60max-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" ]
61 61
62#! ### `gitoxide-core` Configuration62#! ### `gitoxide-core` Configuration
63 63
@@ -69,8 +69,10 @@ gitoxide-core-tools = ["gitoxide-core/organize", "gitoxide-core/estimate-hours"] · 5 unmodified lines
69 69
70## Use blocking client networking.70## Use blocking client networking.
71gitoxide-core-blocking-client = ["gitoxide-core/blocking-client"]71gitoxide-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.72## Support synchronous 'http' and 'https' transports (e.g. for clone, fetch and push) using **curl**.
73http-client-curl = ["git-repository/blocking-http-transport"]73http-client-curl = ["git-repository/blocking-http-transport-curl"]
74## Support synchronous 'http' and 'https' transports (e.g. for clone, fetch and push) using **reqwest**.
75http-client-reqwest = ["git-repository/blocking-http-transport-reqwest", "reqwest-for-configuration-only", "reqwest-for-configuration-only/rustls-tls", "reqwest-for-configuration-only/trust-dns"]
74## Use async client networking.76## Use async client networking.
75gitoxide-core-async-client = ["gitoxide-core/async-client", "futures-lite"]77gitoxide-core-async-client = ["gitoxide-core/async-client", "futures-lite"]
76 78
@@ -85,6 +87,7 @@ anyhow = "1.0.42" · 8 unmodified lines
85gitoxide-core = { version = "^0.20.0", path = "gitoxide-core" }87gitoxide-core = { version = "^0.20.0", path = "gitoxide-core" }
86git-features = { version = "^0.23.1", path = "git-features" }88git-features = { version = "^0.23.1", path = "git-features" }
87git-repository = { version = "^0.28.0", path = "git-repository", default-features = false }89git-repository = { version = "^0.28.0", path = "git-repository", default-features = false }
90reqwest-for-configuration-only = { package = "reqwest", version = "0.11.13", default-features = false, optional = true }
88 91
89clap = { version = "3.2.5", features = ["derive", "cargo"] }92clap = { version = "3.2.5", features = ["derive", "cargo"] }
90prodash = { version = "21", optional = true, default-features = false }93prodash = { version = "21", optional = true, default-features = false }
Makefile+3−2
@@ -127,7 +127,8 @@ check: ## Build all code in suitable configurations · 126 unmodified lines
127 cd git-repository && cargo check --no-default-features --features async-network-client \127 cd git-repository && cargo check --no-default-features --features async-network-client \
128 && cargo check --no-default-features --features async-network-client-async-std \128 && cargo check --no-default-features --features async-network-client-async-std \
129 && cargo check --no-default-features --features blocking-network-client \129 && 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 \
131 && cargo check --no-default-features --features max-performance \132 && cargo check --no-default-features --features max-performance \
132 && cargo check --no-default-features --features max-performance-safe \133 && cargo check --no-default-features --features max-performance-safe \
133 && cargo check --no-default-features134 && cargo check --no-default-features
@@ -178,7 +179,7 @@ journey-tests: always ## run journey tests (max) · 44 unmodified lines
178 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max179 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max
179 180
180journey-tests-pure: always ## run journey tests (max-pure)181journey-tests-pure: always ## run journey tests (max-pure)
181 cargo build182 cargo build --no-default-features --features max-pure
182 cargo build --package git-testtools --bin jtt183 cargo build --package git-testtools --bin jtt
183 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max-pure184 ./tests/journey.sh target/debug/ein target/debug/gix $(jtt) max-pure
184 185
deny.toml+10−0
@@ -41,6 +41,7 @@ allow = [ · 40 unmodified lines
41 "MIT",41 "MIT",
42 "ISC",42 "ISC",
43 "Unicode-DFS-2016",43 "Unicode-DFS-2016",
44 "LicenseRef-ring"
44]45]
45# Lint level for licenses considered copyleft46# Lint level for licenses considered copyleft
46copyleft = "allow"47copyleft = "allow"
@@ -61,3 +62,12 @@ confidence-threshold = 0.8 · 14 unmodified lines
61[bans]62[bans]
62# Lint level for when multiple versions of the same crate are detected63# Lint level for when multiple versions of the same crate are detected
63multiple-versions = "allow"64multiple-versions = "allow"
65
66
67[[licenses.clarify]]
68name = "ring"
69expression = "LicenseRef-ring"
70license-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
75curl = { version = "0.4", optional = true, features = ["static-curl", "static-ssl", "zlib-ng-compat"] }75curl = { version = "0.4", optional = true, features = ["static-curl", "static-ssl", "zlib-ng-compat"] }
76 76
77# for http-client-reqwest77# for http-client-reqwest
78reqwest = { version = "0.11.12", optional = true, features = ["blocking"] }78reqwest = { version = "0.11.12", optional = true, default-features = false, features = ["blocking"] }
79 79
80## If used in conjunction with `async-client`, the `connect()` method will become available along with supporting the git protocol over TCP,80## If used in conjunction with `async-client`, the `connect()` method will become available along with supporting the git protocol over TCP,
81## where the TCP stream is created using this crate.81## 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
38 38
39 (when "running the example program to check order of signal handlers"39 (when "running the example program to check order of signal handlers"
40 it "fails as the process aborts" && {40 it "fails as the process aborts" && {
41 expect_run $ABORTED cargo run --example interrupt-handler-allows-graceful-shutdown41 expect_run $ABORTED cargo run --no-default-features --example interrupt-handler-allows-graceful-shutdown
42 }42 }
43 it "cleans up the tempfile it created" && {43 it "cleans up the tempfile it created" && {
44 expect_run $WITH_FAILURE test -e "example-file.tmp"44 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
36│   └── 48234cfc7b4f0c9475d24d4c386783533a803436│   └── 48234cfc7b4f0c9475d24d4c386783533a8034
37├── 8837├── 88
38│   └── 58983d81b0eef76eb55d21a0d96b7b16846eca38│   └── 58983d81b0eef76eb55d21a0d96b7b16846eca
39├── a2
40│   └── 9ebd0e0fcbcd2a0842dd44cc7c22a90a310a3a
41├── af39├── af
42│   └── 4f6405296dec699321ca59d48583ffa0323b0e40│   └── 4f6405296dec699321ca59d48583ffa0323b0e
43├── b241├── b2
@@ -53,4 +51,4 @@ · 9 unmodified lines
53└── e851└── e8
54 └── 00b9c207e17f9b11e321cc1fba5dfe08af422252 └── 00b9c207e17f9b11e321cc1fba5dfe08af4222
55 53
5626 directories, 27 files5425 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