[package]
edition = "2024"
rust-version = "1.88"
name = "gitfox-client"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the GitFox API"
homepage = "https://github.com/haowei2000/gitfox-cli"
documentation = "https://docs.rs/gitfox-client"
readme = "README.md"
keywords = [
"gitfox",
"api",
"client",
"git",
"http",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/haowei2000/gitfox-cli"
[lib]
name = "gitfox_client"
path = "src/lib.rs"
[[test]]
name = "http"
path = "tests/http.rs"
[[test]]
name = "log_stream"
path = "tests/log_stream.rs"
[[test]]
name = "redirect"
path = "tests/redirect.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[dependencies.reqwest]
version = "0.13.4"
features = [
"json",
"rustls",
"charset",
"http2",
"gzip",
"system-proxy",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tokio]
version = "1.53.1"
features = ["time"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5.8"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"rt-multi-thread",
"macros",
]
[dev-dependencies.wiremock]
version = "0.6.5"
[lints.clippy]
print_stderr = "warn"
print_stdout = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"