[package]
edition = "2021"
rust-version = "1.80"
name = "eggfetch-python"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python sync and asyncio bindings for the eggfetch HTTP engine (Rust core via PyO3; Python users install from PyPI)"
homepage = "https://github.com/eggstack/eggfetch"
documentation = "https://docs.rs/eggfetch-python"
readme = "README.md"
keywords = [
"python",
"bindings",
"http",
"client",
"async",
]
categories = [
"api-bindings",
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/eggstack/eggfetch"
[features]
default = ["proxy"]
proxy = ["eggfetch-core/proxy"]
[lib]
name = "eggfetch_python"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
[dependencies.eggfetch-core]
version = "0.1.4"
features = [
"cookies",
"multipart",
"proxy",
"compression-gzip",
"compression-brotli",
"compression-zstd",
"compression-deflate",
"http2",
"http3",
]
[dependencies.encoding_rs]
version = "0.8"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.pyo3]
version = "0.23"
features = ["extension-module"]
[dependencies.pyo3-async-runtimes]
version = "0.23"
features = ["tokio-runtime"]
[dependencies.rustls]
version = "0.23"
features = [
"std",
"tls12",
"ring",
]
default-features = false
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
"fs",
]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"logging",
"tls12",
]
default-features = false
[dependencies.url]
version = "2"
[dependencies.webpki-roots]
version = "0.26"
[build-dependencies.pyo3-build-config]
version = "0.23"
[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"