day-part-http 0.7.7

Declarative app development API using native UI toolkits
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"
rust-version = "1.100"
name = "day-part-http"
version = "0.7.7"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Declarative app development API using native UI toolkits"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/daybrite/day"
resolver = "2"

[package.metadata.day.android]
java = ["src/DayHttp.java"]
permissions = ["android.permission.INTERNET"]
gradle-dependencies = ["com.squareup.okhttp3:okhttp:4.12.0"]

[features]
default = []
reqwest = [
    "dep:reqwest",
    "dep:tokio",
    "dep:futures-util",
    "dep:tokio-tungstenite",
    "dep:rustls",
    "dep:webpki-roots",
]

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

[[example]]
name = "http"
path = "examples/http.rs"

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

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

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

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

[dependencies.day-async]
version = "0.*"

[dependencies.day-bridge]
version = "0.*"

[dependencies.httpdate]
version = "1"

[dependencies.md-5]
version = "0.11"

[dependencies.psl]
version = "2"

[dependencies.sha2]
version = "0.11"

[dependencies.url]
version = "2"

[dev-dependencies.libc]
version = "0.2"

[build-dependencies.day-build]
version = "0.*"

[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies.libc]
version = "0.2"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.block2]
version = "0.6.2"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2]
version = "0.6.5"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
    "std",
    "objc2",
    "CFArray",
    "CFBase",
    "CFData",
    "CFDictionary",
    "CFError",
    "CFString",
]
default-features = false

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
    "block2",
    "NSArray",
    "NSDate",
    "NSHTTPCookie",
    "NSHTTPCookieStorage",
    "NSStream",
    "NSURLAuthenticationChallenge",
    "NSURLCache",
    "NSURLCredential",
    "NSURLProtectionSpace",
    "NSURLSession",
    "NSURLRequest",
    "NSURLResponse",
    "NSURL",
    "NSData",
    "NSDictionary",
    "NSString",
    "NSError",
    "NSObject",
    "NSEnumerator",
    "NSOperation",
    "NSValue",
]

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-security]
version = "0.3.2"
features = [
    "std",
    "objc2",
    "SecBase",
    "SecCertificate",
    "SecIdentity",
    "SecImportExport",
    "SecTrust",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-util]
version = "0.3"
features = ["sink"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "stream",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
version = "0.23.46"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "time",
    "sync",
    "io-util",
    "macros",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
version = "0.30"
features = ["__rustls-tls"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-roots]
version = "1"
optional = true

[target.'cfg(target_os = "android")'.dependencies.day-platform-android]
version = "0.*"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
fn_params_excessive_bools = "allow"
many_single_char_names = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1