custom-display 0.1.1

A trait for implementing custom formatting logic for types
Documentation
1
2
3
4
5
6
7
8
9
allow-indexing-slicing-in-tests = true
allow-panic-in-tests = true
allow-unwrap-in-tests = true
allowed-idents-below-min-chars = ["..", "f"]
disallowed-methods = [
    { path = "str::len", reason = "length in bytes, which is not intuitive" },
    { path = "std::string::String::len", reason = "length in bytes, which is not intuitive" },
]
suppress-restriction-lint-in-const = true