monero-interface 0.2.0

Traits for interfacing with the Monero network, built around monero-oxide
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 = "2021"
rust-version = "1.81"
name = "monero-interface"
version = "0.2.0"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Traits for interfacing with the Monero network, built around monero-oxide"
readme = "README.md"
license = "MIT"
repository = "https://github.com/monero-oxide/monero-oxide/tree/main/monero-oxide/interface"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = [
    "std-shims/std",
    "thiserror/std",
    "zeroize/std",
    "hex/std",
    "monero-oxide/std",
]

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

[dependencies.hex]
version = "0.4"
features = ["alloc"]
default-features = false

[dependencies.monero-oxide]
version = "0.1"
default-features = false

[dependencies.std-shims]
version = "0.1.5"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.zeroize]
version = "^1.5"
features = ["zeroize_derive"]
default-features = false

[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"