linear-api 0.1.0

Unofficial async Rust client for the Linear GraphQL API (API-key auth)
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.85"
name = "linear-api"
version = "0.1.0"
build = false
exclude = [
    "docs/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial async Rust client for the Linear GraphQL API (API-key auth)"
readme = "README.md"
keywords = [
    "linear",
    "graphql",
    "api",
    "client",
    "sdk",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bipa-app/linear-api"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = [
    "reqwest/rustls",
    "reqwest/webpki-roots",
]
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bon]
version = "3.9"

[dependencies.fastrand]
version = "2"

[dependencies.futures]
version = "0.3"

[dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false

[dependencies.secrecy]
version = "0.10"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "parsing",
    "formatting",
    "macros",
    "serde-well-known",
]

[dependencies.tokio]
version = "1"
features = ["time"]
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.url]
version = "2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.apollo-compiler]
version = "1"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.insta]
version = "1.48"
features = ["json"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"