/
Cargo.toml
38 lines (33 loc) · 1.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2020 the Tectonic Project
# Licensed under the MIT License.
[package]
name = "tectonic_geturl"
version = "0.0.0-dev.0" # assigned with cranko (see README)
authors = ["Peter Williams <peter@newton.cx>"]
description = """
A generic interface for HTTP GETs and byte-range requests, with pluggable backends.
"""
homepage = "https://tectonic-typesetting.github.io/"
documentation = "https://docs.rs/tectonic_geturl"
repository = "https://github.com/tectonic-typesetting/tectonic/"
readme = "README.md"
license = "MIT"
edition = "2018"
[[bin]]
name = "geturl"
[dependencies]
anyhow = "1.0.62"
cfg-if = "^1.0"
curl = { version = "^0.4", optional = true }
reqwest = { version = "^0.11", optional = true, features = ["blocking"] }
reqwest-impersonate = { git = "https://github.com/4JX/reqwest-impersonate.git", default-features = false, features = [
"chrome",
"blocking",
], optional = true }
[patch.crates-io]
hyper = { git = "https://github.com/4JX/hyper.git", branch = "v0.14.18-patched" }
h2 = { git = "https://github.com/4JX/h2.git", branch = "imp" }
[features]
default = ["reqwest"]
reqwest_impersonate = ["reqwest-impersonate"]
native-tls-vendored = ["reqwest/native-tls-vendored"]