mesa-dev 0.1.0

Rust SDK for the mesa.dev API
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"
name = "mesa-dev"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the mesa.dev API"
readme = "README.md"
keywords = [
    "mesa",
    "git",
    "api",
    "sdk",
]
categories = [
    "api-bindings",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mesa-dot-dev/sdk-rust"

[features]
default = ["reqwest-client"]
reqwest-client = ["dep:reqwest"]
ureq-client = ["dep:ureq"]

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"

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

[dependencies.http]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
version = "3"
optional = true

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

[dev-dependencies.test-context]
version = "0.5"

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

[dev-dependencies.uuid]
version = "1"
features = ["v4"]

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
multiple_crate_versions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "forbid"
unused_lifetimes = "deny"
unused_qualifications = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1