[dependencies.anyhow]
version = "1"
[dependencies.semver]
features = ["serde"]
version = "1"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.ureq]
features = ["json"]
optional = true
version = "3.0"
[features]
blocking = ["dep:ureq"]
default = ["blocking"]
[lib]
name = "update_available"
path = "src/lib.rs"
[lints.clippy]
all = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
complexity = "warn"
correctness = "warn"
create_dir = "warn"
expect_used = "warn"
missing_assert_message = "warn"
nursery = "warn"
panic_in_result_fn = "warn"
pedantic = "warn"
perf = "warn"
str_to_string = "warn"
style = "warn"
suspicious = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
[lints.rust]
deprecated = "warn"
elided_lifetimes_in_paths = "warn"
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
[lints.rustdoc]
all = "warn"
missing_crate_level_docs = "warn"
[package]
authors = ["bircni"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A library to check for updates of a crate on crates.io, GitHub or Gitea."
edition = "2024"
exclude = ["examples/*", "scripts/*", ".vscode/*", ".github/*"]
keywords = ["update", "available", "gitea", "github", "version"]
license = "MIT"
name = "update-available"
readme = "README.md"
repository = "https://github.com/bircni/update-available"
version = "0.2.0"