[package]
name = "linear-api"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
description = "Unofficial async Rust client for the Linear GraphQL API (API-key auth)"
repository = "https://github.com/bipa-app/linear-api"
readme = "README.md"
keywords = ["linear", "graphql", "api", "client", "sdk"]
categories = ["api-bindings", "asynchronous", "web-programming::http-client"]
exclude = ["docs/", ".github/"]
[dependencies]
reqwest = { version = "0.13", default-features = false, features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
time = { version = "0.3", features = [
"serde",
"parsing",
"formatting",
"macros",
"serde-well-known",
] }
futures = "0.3"
bon = "3.9"
secrecy = "0.10"
fastrand = "2"
url = "2"
tokio = { version = "1", default-features = false, features = ["time"] }
tracing = { version = "0.1", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
wiremock = "0.6"
insta = { version = "1.48", features = ["json"] }
apollo-compiler = "1"
anyhow = "1"
futures = "0.3"
[features]
default = ["rustls-tls"]
rustls-tls = ["reqwest/rustls", "reqwest/webpki-roots"]
native-tls = ["reqwest/native-tls"]
tracing = ["dep:tracing"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]