[package]
edition = "2021"
rust-version = "1.81"
name = "monero-epee"
version = "0.2.1"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for working with `epee`-encoded data"
readme = "README.md"
license = "MIT"
repository = "https://github.com/monero-oxide/monero-oxide/tree/main/monero-oxide/epee"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "monero_epee"
path = "src/lib.rs"
[lints.clippy]
alloc_instead_of_core = "warn"
as_conversions = "warn"
as_pointer_underscore = "warn"
as_underscore = "warn"
assertions_on_result_states = "warn"
cfg_not_test = "warn"
create_dir = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
explicit_deref_methods = "allow"
filetype_is_file = "warn"
float_arithmetic = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
if_not_else = "allow"
if_then_some_else_none = "warn"
incompatible_msrv = "allow"
inline_always = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
iter_over_hash_type = "warn"
lossy_float_literal = "warn"
manual_is_multiple_of = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
naive_bytecount = "allow"
needless_continue = "allow"
partial_pub_fields = "warn"
precedence_bits = "warn"
rc_mutex = "warn"
same_name_method = "warn"
similar_names = "allow"
single_match_else = "allow"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
string_slice = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
too_many_lines = "allow"
unnecessary_self_imports = "warn"
unused_trait_names = "warn"
unwrap_or_default = "allow"
wildcard_enum_match_arm = "warn"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
closure_returning_async_block = "warn"
deprecated_safe = "warn"
deref_into_dyn_supertrait = "warn"
explicit_outlives_requirements = "warn"
impl_trait_redundant_captures = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
unit_bindings = "warn"
unsafe_attr_outside_unsafe = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"