this repo has no description

fix: enable https on tinyget

ptr.pet a60247a8 873c889d

verified
+329 -1
+323
Cargo.lock
··· 9 9 checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" 10 10 11 11 [[package]] 12 + name = "bitflags" 13 + version = "2.9.4" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" 16 + 17 + [[package]] 18 + name = "cc" 19 + version = "1.2.37" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44" 22 + dependencies = [ 23 + "find-msvc-tools", 24 + "shlex", 25 + ] 26 + 27 + [[package]] 28 + name = "cfg-if" 29 + version = "1.0.3" 30 + source = "registry+https://github.com/rust-lang/crates.io-index" 31 + checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" 32 + 33 + [[package]] 12 34 name = "chunked_transfer" 13 35 version = "1.5.0" 14 36 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 23 45 ] 24 46 25 47 [[package]] 48 + name = "core-foundation" 49 + version = "0.9.4" 50 + source = "registry+https://github.com/rust-lang/crates.io-index" 51 + checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 52 + dependencies = [ 53 + "core-foundation-sys", 54 + "libc", 55 + ] 56 + 57 + [[package]] 58 + name = "core-foundation-sys" 59 + version = "0.8.7" 60 + source = "registry+https://github.com/rust-lang/crates.io-index" 61 + checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 62 + 63 + [[package]] 64 + name = "errno" 65 + version = "0.3.14" 66 + source = "registry+https://github.com/rust-lang/crates.io-index" 67 + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" 68 + dependencies = [ 69 + "libc", 70 + "windows-sys", 71 + ] 72 + 73 + [[package]] 74 + name = "fastrand" 75 + version = "2.3.0" 76 + source = "registry+https://github.com/rust-lang/crates.io-index" 77 + checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 78 + 79 + [[package]] 80 + name = "find-msvc-tools" 81 + version = "0.1.1" 82 + source = "registry+https://github.com/rust-lang/crates.io-index" 83 + checksum = "7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d" 84 + 85 + [[package]] 86 + name = "foreign-types" 87 + version = "0.3.2" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 90 + dependencies = [ 91 + "foreign-types-shared", 92 + ] 93 + 94 + [[package]] 95 + name = "foreign-types-shared" 96 + version = "0.1.1" 97 + source = "registry+https://github.com/rust-lang/crates.io-index" 98 + checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 99 + 100 + [[package]] 101 + name = "getrandom" 102 + version = "0.3.3" 103 + source = "registry+https://github.com/rust-lang/crates.io-index" 104 + checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 105 + dependencies = [ 106 + "cfg-if", 107 + "libc", 108 + "r-efi", 109 + "wasi", 110 + ] 111 + 112 + [[package]] 26 113 name = "httpdate" 27 114 version = "1.0.3" 28 115 source = "registry+https://github.com/rust-lang/crates.io-index" 29 116 checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 30 117 31 118 [[package]] 119 + name = "libc" 120 + version = "0.2.175" 121 + source = "registry+https://github.com/rust-lang/crates.io-index" 122 + checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" 123 + 124 + [[package]] 125 + name = "linux-raw-sys" 126 + version = "0.11.0" 127 + source = "registry+https://github.com/rust-lang/crates.io-index" 128 + checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" 129 + 130 + [[package]] 32 131 name = "log" 33 132 version = "0.4.28" 34 133 source = "registry+https://github.com/rust-lang/crates.io-index" 35 134 checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 36 135 37 136 [[package]] 137 + name = "native-tls" 138 + version = "0.2.14" 139 + source = "registry+https://github.com/rust-lang/crates.io-index" 140 + checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" 141 + dependencies = [ 142 + "libc", 143 + "log", 144 + "openssl", 145 + "openssl-probe", 146 + "openssl-sys", 147 + "schannel", 148 + "security-framework", 149 + "security-framework-sys", 150 + "tempfile", 151 + ] 152 + 153 + [[package]] 154 + name = "once_cell" 155 + version = "1.21.3" 156 + source = "registry+https://github.com/rust-lang/crates.io-index" 157 + checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 158 + 159 + [[package]] 160 + name = "openssl" 161 + version = "0.10.73" 162 + source = "registry+https://github.com/rust-lang/crates.io-index" 163 + checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" 164 + dependencies = [ 165 + "bitflags", 166 + "cfg-if", 167 + "foreign-types", 168 + "libc", 169 + "once_cell", 170 + "openssl-macros", 171 + "openssl-sys", 172 + ] 173 + 174 + [[package]] 175 + name = "openssl-macros" 176 + version = "0.1.1" 177 + source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 179 + dependencies = [ 180 + "proc-macro2", 181 + "quote", 182 + "syn", 183 + ] 184 + 185 + [[package]] 186 + name = "openssl-probe" 187 + version = "0.1.6" 188 + source = "registry+https://github.com/rust-lang/crates.io-index" 189 + checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" 190 + 191 + [[package]] 192 + name = "openssl-sys" 193 + version = "0.9.109" 194 + source = "registry+https://github.com/rust-lang/crates.io-index" 195 + checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" 196 + dependencies = [ 197 + "cc", 198 + "libc", 199 + "pkg-config", 200 + "vcpkg", 201 + ] 202 + 203 + [[package]] 204 + name = "pkg-config" 205 + version = "0.3.32" 206 + source = "registry+https://github.com/rust-lang/crates.io-index" 207 + checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 208 + 209 + [[package]] 210 + name = "proc-macro2" 211 + version = "1.0.101" 212 + source = "registry+https://github.com/rust-lang/crates.io-index" 213 + checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" 214 + dependencies = [ 215 + "unicode-ident", 216 + ] 217 + 218 + [[package]] 219 + name = "quote" 220 + version = "1.0.40" 221 + source = "registry+https://github.com/rust-lang/crates.io-index" 222 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 223 + dependencies = [ 224 + "proc-macro2", 225 + ] 226 + 227 + [[package]] 228 + name = "r-efi" 229 + version = "5.3.0" 230 + source = "registry+https://github.com/rust-lang/crates.io-index" 231 + checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" 232 + 233 + [[package]] 234 + name = "rustix" 235 + version = "1.1.2" 236 + source = "registry+https://github.com/rust-lang/crates.io-index" 237 + checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" 238 + dependencies = [ 239 + "bitflags", 240 + "errno", 241 + "libc", 242 + "linux-raw-sys", 243 + "windows-sys", 244 + ] 245 + 246 + [[package]] 247 + name = "schannel" 248 + version = "0.1.28" 249 + source = "registry+https://github.com/rust-lang/crates.io-index" 250 + checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" 251 + dependencies = [ 252 + "windows-sys", 253 + ] 254 + 255 + [[package]] 256 + name = "security-framework" 257 + version = "2.11.1" 258 + source = "registry+https://github.com/rust-lang/crates.io-index" 259 + checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 260 + dependencies = [ 261 + "bitflags", 262 + "core-foundation", 263 + "core-foundation-sys", 264 + "libc", 265 + "security-framework-sys", 266 + ] 267 + 268 + [[package]] 269 + name = "security-framework-sys" 270 + version = "2.15.0" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" 273 + dependencies = [ 274 + "core-foundation-sys", 275 + "libc", 276 + ] 277 + 278 + [[package]] 279 + name = "shlex" 280 + version = "1.3.0" 281 + source = "registry+https://github.com/rust-lang/crates.io-index" 282 + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 283 + 284 + [[package]] 285 + name = "syn" 286 + version = "2.0.106" 287 + source = "registry+https://github.com/rust-lang/crates.io-index" 288 + checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" 289 + dependencies = [ 290 + "proc-macro2", 291 + "quote", 292 + "unicode-ident", 293 + ] 294 + 295 + [[package]] 296 + name = "tempfile" 297 + version = "3.22.0" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53" 300 + dependencies = [ 301 + "fastrand", 302 + "getrandom", 303 + "once_cell", 304 + "rustix", 305 + "windows-sys", 306 + ] 307 + 308 + [[package]] 38 309 name = "tiny_http" 39 310 version = "0.12.0" 40 311 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 52 323 source = "registry+https://github.com/rust-lang/crates.io-index" 53 324 checksum = "5205be93938f3ae916c773ffa3361eaf3b0ee4d40f3752da46d8b1d5311e7285" 54 325 dependencies = [ 326 + "native-tls", 55 327 "urlencoding", 56 328 ] 57 329 58 330 [[package]] 331 + name = "unicode-ident" 332 + version = "1.0.19" 333 + source = "registry+https://github.com/rust-lang/crates.io-index" 334 + checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" 335 + 336 + [[package]] 59 337 name = "urlencoding" 60 338 version = "2.1.3" 61 339 source = "registry+https://github.com/rust-lang/crates.io-index" 62 340 checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" 341 + 342 + [[package]] 343 + name = "vcpkg" 344 + version = "0.2.15" 345 + source = "registry+https://github.com/rust-lang/crates.io-index" 346 + checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 347 + 348 + [[package]] 349 + name = "wasi" 350 + version = "0.14.5+wasi-0.2.4" 351 + source = "registry+https://github.com/rust-lang/crates.io-index" 352 + checksum = "a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4" 353 + dependencies = [ 354 + "wasip2", 355 + ] 356 + 357 + [[package]] 358 + name = "wasip2" 359 + version = "1.0.0+wasi-0.2.4" 360 + source = "registry+https://github.com/rust-lang/crates.io-index" 361 + checksum = "03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24" 362 + dependencies = [ 363 + "wit-bindgen", 364 + ] 365 + 366 + [[package]] 367 + name = "windows-link" 368 + version = "0.2.0" 369 + source = "registry+https://github.com/rust-lang/crates.io-index" 370 + checksum = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65" 371 + 372 + [[package]] 373 + name = "windows-sys" 374 + version = "0.61.0" 375 + source = "registry+https://github.com/rust-lang/crates.io-index" 376 + checksum = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa" 377 + dependencies = [ 378 + "windows-link", 379 + ] 380 + 381 + [[package]] 382 + name = "wit-bindgen" 383 + version = "0.45.1" 384 + source = "registry+https://github.com/rust-lang/crates.io-index" 385 + checksum = "5c573471f125075647d03df72e026074b7203790d41351cd6edc96f46bcccd36"
+1 -1
Cargo.toml
··· 5 5 6 6 [dependencies] 7 7 tiny_http = "0.12.0" 8 - tinyget = "1.1.2" 8 + tinyget = { version = "1.1.2", features = ["https"] }
+5
default.nix
··· 1 1 { 2 2 rustPlatform, 3 + pkg-config, 4 + openssl, 3 5 ... 4 6 }: 5 7 rustPlatform.buildRustPackage { ··· 7 9 version = "main"; 8 10 9 11 src = ./.; 12 + 13 + nativeBuildInputs = [pkg-config]; 14 + buildInputs = [openssl]; 10 15 11 16 cargoLock.lockFile = ./Cargo.lock; 12 17 }