# 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.91.0"
name = "omry-service"
version = "0.12.0"
authors = ["Anna 'anya' Hope"]
build = false
exclude = [
    "**/*.snap",
    "test/*",
    "**/proptest-regressions/*",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RPC definitions for server and client applications using the Omry project."
homepage = "https://sr.ht/~anya_hope/omry/"
readme = "README.md"
keywords = [
    "archival",
    "retrieval",
    "search",
    "web",
]
license = "AGPL-3.0"
repository = "https://git.sr.ht/~anya_hope/omry"
resolver = "2"

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

[dependencies.omry-archiving]
version = "0.12.0"
features = ["marshal"]

[dependencies.omry-common]
version = "0.12.0"

[dependencies.omry-search]
version = "0.12.0"
features = ["serde"]

[dependencies.serde]
version = "1"

[dependencies.serde_with]
version = "3.16"

[dependencies.tarpc]
version = "0.37"
features = [
    "serde-transport-bincode",
    "tcp",
    "tokio1",
    "unix",
]

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.insta]
version = "1.44"
features = [
    "redactions",
    "ron",
]

[lints.clippy]
clone_on_ref_ptr = "deny"
expect_used = "deny"
missing_docs_in_private_items = "deny"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
