[package]
edition = "2021"
name = "forgejo-api"
version = "0.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interface to Forgejo's Web API"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://codeberg.org/Cyborus/forgejo-api"
[features]
default = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls"]
sync = ["reqwest/blocking"]
[lib]
name = "forgejo_api"
path = "src/lib.rs"
[[test]]
name = "admin"
path = "tests/admin.rs"
[[test]]
name = "headers"
path = "tests/headers.rs"
[[test]]
name = "organization"
path = "tests/organization.rs"
[[test]]
name = "repo"
path = "tests/repo.rs"
[[test]]
name = "user"
path = "tests/user.rs"
[dependencies.base64ct]
version = "1.8.3"
[dependencies.bytes]
version = "1.12.1"
[dependencies.futures]
version = "0.3.32"
[dependencies.reqwest]
version = "0.13.4"
features = [
"charset",
"http2",
"system-proxy",
"json",
"multipart",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.soft_assert]
version = "0.1.1"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.time]
version = "0.3.53"
features = [
"parsing",
"serde",
"formatting",
]
[dependencies.tokio]
version = "1.52.3"
features = ["net"]
[dependencies.url]
version = "2.5.8"
features = ["serde"]
[dependencies.urlencoding]
version = "2.1.3"
[dependencies.zeroize]
version = "1.9.0"
[dev-dependencies.eyre]
version = "0.6.12"
[dev-dependencies.reqwest]
version = "0.13"
features = [
"cookies",
"form",
]
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"net",
"fs",
"rt",
"macros",
]