[badges.maintenance]
status = "experimental"
[dependencies.reqwest]
features = ["json"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde-this-or-that]
version = "0.5"
[dependencies.serde_json]
features = ["preserve_order"]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.time]
features = ["serde", "parsing"]
version = "0.3"
[dev-dependencies.dotenv]
version = "0.15"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.tokio]
features = ["macros"]
version = "1"
[features]
default = []
integration_tests = []
[lib]
name = "openrouter"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "deny"
allow_attributes = "forbid"
arithmetic_side_effects = "deny"
as_conversions = "deny"
expect_used = "deny"
too_long_first_doc_paragraph = "deny"
[lints.rust]
warnings = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
[package]
authors = ["Kevin Becker <k.becker@byter.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "network-programming"]
description = "A library to interact with the OpenRouter API."
edition = "2024"
license = "MIT OR Apache-2.0"
name = "openrouter"
readme = "README.md"
repository = "https://gitlab.com/bit-refined/openrouter"
rust-version = "1.85.1"
version = "0.2.0"