libcronet-sys 0.1.0

Low-level FFI bindings to Chromium Cronet (libcronet), with optional prebuilt-binary download.
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 = "2024"
name = "libcronet-sys"
version = "0.1.0"
build = "build.rs"
links = "cronet"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings to Chromium Cronet (libcronet), with optional prebuilt-binary download."
readme = "README.md"
license = "MIT"
repository = "https://github.com/rust-proxy/cronet-rs"
resolver = "2"

[features]
default = []
download = [
    "dep:ureq",
    "dep:sha2",
]
download-static = [
    "dep:ureq",
    "dep:sha2",
]
dynamic = []
static-link = ["dep:object"]

[lib]
name = "libcronet_sys"
path = "src/lib.rs"

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

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

[dependencies.libloading]
version = "0.8"

[dependencies.same-file]
version = "1"

[build-dependencies.object]
version = "0.41.0"
features = [
    "read_core",
    "archive",
]
optional = true
default-features = false

[build-dependencies.sha2]
version = "0.10"
optional = true

[build-dependencies.ureq]
version = "2"
features = ["socks-proxy"]
optional = true

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_System_LibraryLoader",
]