actpub-nodeinfo 0.2.3

NodeInfo 2.0/2.1 and FEP-0151 server metadata protocol for ActivityPub.
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 = "actpub-nodeinfo"
version = "0.2.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NodeInfo 2.0/2.1 and FEP-0151 server metadata protocol for ActivityPub."
readme = false
keywords = [
    "nodeinfo",
    "activitypub",
    "fediverse",
    "fep-0151",
]
categories = ["web-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/actpub"

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

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

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

[dependencies.reqwest]
version = "0.13.3"
features = [
    "rustls",
    "http2",
    "charset",
    "json",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0.149"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"
features = [
    "std",
    "serde",
]
default-features = false

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt",
]
default-features = false

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

[lints.clippy]
allow_attributes_without_reason = "warn"
as_underscore = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cargo_common_metadata = "allow"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_precision_loss = "allow"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
error_impl_error = "warn"
excessive_nesting = "warn"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
exit = "warn"
expect_used = "warn"
fallible_impl_from = "warn"
fn_params_excessive_bools = "warn"
format_push_string = "warn"
future_not_send = "warn"
implicit_hasher = "warn"
indexing_slicing = "warn"
infinite_loop = "warn"
large_types_passed_by_value = "warn"
let_underscore_must_use = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
missing_assert_message = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "warn"
needless_raw_string_hashes = "warn"
option_if_let_else = "warn"
panic = "warn"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_pub_crate = "allow"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
semicolon_inside_block = "allow"
semicolon_outside_block = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "warn"
significant_drop_tightening = "warn"
similar_names = "allow"
str_to_string = "warn"
string_lit_as_bytes = "warn"
struct_excessive_bools = "warn"
tests_outside_test_module = "warn"
todo = "warn"
too_many_lines = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "allow"

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

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

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

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

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

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

[lints.clippy.restriction]
level = "allow"
priority = -1

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

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
non_camel_case_types = "warn"
non_snake_case = "warn"
non_upper_case_globals = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_crate_dependencies = "warn"
unused_imports = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_must_use = "deny"
unused_qualifications = "warn"
variant_size_differences = "warn"

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

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

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

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
invalid_rust_codeblocks = "warn"
missing_crate_level_docs = "warn"
private_intra_doc_links = "warn"
unescaped_backticks = "warn"

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