custom-display 0.1.1

A trait for implementing custom formatting logic for types
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.85.0"
name = "custom-display"
version = "0.1.1"
authors = ["Marissa <dev@princess.lgbt>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A trait for implementing custom formatting logic for types"
readme = "README.md"
keywords = [
    "no-ai",
    "display",
    "custom-display",
    "formatting",
]
categories = [
    "development-tools",
    "rust-patterns",
    "value-formatting",
]
license = "MPL-2.0"
repository = "https://codeberg.org/cuddle_puddle/custom-display"

[features]
testkit = []

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

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

[dependencies]

[lints.clippy]
absolute_paths = "deny"
alloc_instead_of_core = "forbid"
allow_attributes = "forbid"
allow_attributes_without_reason = "forbid"
arithmetic_side_effects = "deny"
as_conversions = "deny"
as_pointer_underscore = "forbid"
as_underscore = "forbid"
cfg_not_test = "forbid"
clone_on_ref_ptr = "forbid"
create_dir = "forbid"
dbg_macro = "forbid"
default_numeric_fallback = "forbid"
default_union_representation = "forbid"
deref_by_slicing = "forbid"
disallowed_script_idents = "forbid"
else_if_without_else = "deny"
empty_drop = "deny"
empty_enum_variants_with_brackets = "forbid"
empty_structs_with_brackets = "forbid"
error_impl_error = "deny"
exhaustive_enums = "deny"
exhaustive_structs = "deny"
exit = "forbid"
field_scoped_visibility_modifiers = "forbid"
filetype_is_file = "forbid"
float_cmp_const = "forbid"
fn_to_numeric_cast_any = "forbid"
get_unwrap = "forbid"
if_then_some_else_none = "forbid"
impl_trait_in_params = "forbid"
indexing_slicing = "deny"
infinite_loop = "deny"
large_include_file = "deny"
let_underscore_must_use = "forbid"
let_underscore_untyped = "forbid"
lossy_float_literal = "forbid"
manual_assert = "allow"
map_err_ignore = "deny"
map_with_unused_argument_over_ranges = "deny"
mem_forget = "forbid"
min_ident_chars = "deny"
missing_assert_message = "deny"
missing_asserts_for_indexing = "deny"
missing_inline_in_public_items = "forbid"
mixed_read_write_in_expression = "forbid"
multiple_unsafe_ops_per_block = "forbid"
must_use_candidate = "allow"
mutex_atomic = "deny"
mutex_integer = "deny"
needless_raw_strings = "forbid"
non_zero_suggestions = "forbid"
panic = "deny"
panic_in_result_fn = "deny"
partial_pub_fields = "deny"
pattern_type_mismatch = "forbid"
pointer_format = "forbid"
precedence_bits = "forbid"
print_stderr = "deny"
print_stdout = "deny"
pub_without_shorthand = "forbid"
question_mark_used = "deny"
rc_buffer = "forbid"
rc_mutex = "forbid"
redundant_test_prefix = "forbid"
redundant_type_annotations = "deny"
ref_patterns = "deny"
renamed_function_params = "deny"
rest_pat_in_fully_bound_structs = "forbid"
return_and_then = "deny"
same_name_method = "forbid"
self_named_module_files = "forbid"
semicolon_inside_block = "forbid"
shadow_same = "forbid"
shadow_unrelated = "forbid"
single_char_lifetime_names = "deny"
str_to_string = "forbid"
string_add = "forbid"
string_lit_chars_any = "forbid"
string_slice = "deny"
suspicious_xor_used_as_pow = "deny"
tests_outside_test_module = "forbid"
try_err = "forbid"
undocumented_unsafe_blocks = "forbid"
unimplemented = "deny"
unnecessary_safety_comment = "forbid"
unnecessary_safety_doc = "forbid"
unnecessary_self_imports = "deny"
unneeded_field_pattern = "forbid"
unseparated_literal_suffix = "forbid"
unused_result_ok = "forbid"
unused_trait_names = "forbid"
unwrap_in_result = "deny"
unwrap_used = "forbid"
use_debug = "forbid"
verbose_file_reads = "forbid"
wildcard_enum_match_arm = "deny"

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

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

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

[lints.rust]
deprecated_safe = "forbid"
future_incompatible = "deny"
let_underscore = "forbid"
nonstandard_style = "forbid"
refining_impl_trait = "forbid"
unknown_or_malformed_diagnostic_attributes = "forbid"
unused = "forbid"
warnings = "deny"

[lints.rust.missing_docs]
level = "deny"
priority = 1