Files
immich-sdk/Cargo.toml
2026-04-05 15:51:10 +00:00

56 lines
1.5 KiB
TOML

[package]
name = "immich-sdk"
version = "1.137.0"
edition = "2024"
authors = ["Your Name <your.email@example.com>"]
description = "A modern Rust SDK for the Immich photo and video management server"
license = "MIT OR Apache-2.0"
repository = "https://github.com/yourusername/immich-sdk"
documentation = "https://docs.rs/immich-sdk"
keywords = ["immich", "photos", "api", "sdk", "client"]
categories = ["api-bindings", "multimedia"]
rust-version = "1.85"
[dependencies]
reqwest = { version = "0.13", default-features = false, features = ["json", "multipart", "rustls", "query"] }
tokio = { version = "1.44", features = ["full"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
serde_repr = "0.1"
thiserror = "2.0"
uuid = { version = "1.22", features = ["serde", "v4"] }
chrono = { version = "0.4.44", features = ["serde"] }
url = "2.5"
bytes = "1.10"
async-trait = "0.1"
[dev-dependencies]
tokio-test = "0.4"
wiremock = "0.6"
[lib]
name = "immich_sdk"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
borrow_as_ptr = "warn"
implicit_clone = "warn"
undocumented_unsafe_blocks = "warn"
unicode_not_nfc = "warn"
unused_async = "deny"
wildcard_dependencies = "deny"
[lints.rust]
absolute_paths_not_starting_with_crate = "deny"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "deny"
missing_abi = "deny"
non_ascii_idents = "forbid"
rust_2018_idioms = { level = "deny", priority = -1 }
single_use_lifetimes = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"