rsurl 0.0.7

A pure-Rust implementation of curl. Library, C FFI, and CLI for HTTP/HTTPS/FTP/FTPS.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.95"
name = "rsurl"
version = "0.0.7"
authors = ["Karpelès Lab Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure-Rust implementation of curl. Library, C FFI, and CLI for HTTP/HTTPS/FTP/FTPS."
readme = "README.md"
keywords = [
    "http",
    "https",
    "curl",
    "client",
    "tls",
]
categories = [
    "network-programming",
    "web-programming::http-client",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/rsurl"

[features]
bittorrent = []
default = [
    "purecrypto-tls",
    "idn",
    "bittorrent",
]
idn = ["dep:idna"]
json = [
    "dep:serde",
    "dep:serde_json",
]
purecrypto-tls = []
rustls-tls = [
    "dep:rustls",
    "dep:rustls-pemfile",
]

[lib]
name = "rsurl"
crate-type = [
    "rlib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[bin]]
name = "rsurl"
path = "src/bin/rsurl.rs"

[[test]]
name = "integration_bittorrent"
path = "tests/integration_bittorrent.rs"

[[test]]
name = "integration_http"
path = "tests/integration_http.rs"

[[test]]
name = "integration_multi"
path = "tests/integration_multi.rs"

[[test]]
name = "integration_parallel"
path = "tests/integration_parallel.rs"

[[test]]
name = "integration_resume"
path = "tests/integration_resume.rs"

[[test]]
name = "integration_url"
path = "tests/integration_url.rs"

[[test]]
name = "integration_websocket"
path = "tests/integration_websocket.rs"

[dependencies.compcol]
version = "0.4"
features = [
    "std",
    "gzip",
    "zlib",
    "zstd",
    "brotli",
    "lzw",
]
default-features = false

[dependencies.idna]
version = "1"
features = [
    "alloc",
    "compiled_data",
]
optional = true
default-features = false

[dependencies.psl2]
version = "0.1"
default-features = false

[dependencies.purecrypto]
version = "0.6.8"

[dependencies.puressh]
version = "0.0.4"
features = [
    "client",
    "compress",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
    "tls12",
    "logging",
]
optional = true
default-features = false

[dependencies.rustls-pemfile]
version = "2"
optional = true

[dependencies.serde]
version = "1"
optional = true
default-features = false

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.zeroize]
version = "1"

[dev-dependencies.purecrypto]
version = "0.6.8"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true