nsip 0.3.3

NSIP Search API client for nsipsearch.nsip.org/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"
rust-version = "1.92"
name = "nsip"
version = "0.3.3"
authors = ["Robert Allen <zircote@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NSIP Search API client for nsipsearch.nsip.org/api"
homepage = "https://github.com/zircote/nsip"
documentation = "https://docs.rs/nsip"
readme = "README.md"
keywords = [
    "nsip",
    "livestock",
    "api",
    "search",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/zircote/nsip"

[features]
default = []

[lib]
name = "nsip"
path = "crates/lib.rs"

[[bin]]
name = "nsip"
path = "crates/main.rs"

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

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5"

[dependencies.clap_mangen]
version = "0.2"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rmcp]
version = "0.15"
features = [
    "server",
    "transport-io",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.proptest]
version = "1.10.0"

[dev-dependencies.tempfile]
version = "3.25.0"

[dev-dependencies.test-case]
version = "3.3.1"

[dev-dependencies.tokio-test]
version = "0.4"

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

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

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

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

[lints.clippy.nursery]
level = "warn"
priority = -1

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[profile.dev]
opt-level = 0
debug = 1

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true

[profile.release-debug]
debug = 2
inherits = "release"
strip = false