[dependencies.mpl-token-metadata]
version = "5.1.1"
[dependencies.solana-program]
version = "~2.3"
[dependencies.solana-sdk-ids]
version = "~2.2"
[dependencies.spl-associated-token-account]
features = ["no-entrypoint"]
version = "6.0.0"
[dev-dependencies.solana-program-test]
version = "~2.3"
[dev-dependencies.solana-sdk]
version = "~2.3"
[lib]
crate-type = ["cdylib", "lib"]
name = "program_utils"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
as_conversions = "allow"
assertions_on_result_states = "allow"
blanket_clippy_restriction_lints = "allow"
cargo_common_metadata = "allow"
cast_lossless = "allow"
dbg_macro = "allow"
default_numeric_fallback = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
empty_structs_with_brackets = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
explicit_deref_methods = "allow"
explicit_iter_loop = "allow"
field_scoped_visibility_modifiers = "allow"
future_not_send = "allow"
host_endian_bytes = "allow"
implicit_clone = "allow"
implicit_return = "allow"
inconsistent_struct_constructor = "allow"
large_futures = "allow"
manual_inspect = "allow"
map_err_ignore = "allow"
min_ident_chars = "allow"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
negative_feature_names = "allow"
non_minimal_cfg = "allow"
option_if_let_else = "allow"
pattern_type_mismatch = "allow"
precedence = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
redundant_clone = "allow"
redundant_pub_crate = "allow"
ref_patterns = "allow"
renamed_function_params = "allow"
self_named_module_files = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_unrelated = "allow"
similar_names = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
too_long_first_doc_paragraph = "allow"
transmute_ptr_to_ptr = "allow"
undocumented_unsafe_blocks = "allow"
unnecessary_wraps = "allow"
unneeded_field_pattern = "allow"
unseparated_literal_suffix = "allow"
unused_trait_names = "allow"
unwrap_used = "allow"
use_self = "allow"
wildcard_imports = "allow"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -4
[lints.clippy.nursery]
level = "deny"
priority = -9
[lints.clippy.pedantic]
level = "deny"
priority = -8
[lints.clippy.perf]
level = "deny"
priority = -3
[lints.clippy.restriction]
level = "deny"
priority = -5
[lints.clippy.style]
level = "deny"
priority = -6
[lints.clippy.suspicious]
level = "deny"
priority = -7
[lints.rust.rust_2018_idioms]
level = "allow"
priority = 0
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_os, values("solana"))']
level = "warn"
priority = -1
[lints.rust.unreachable_pub]
level = "warn"
priority = -1
[lints.rust.unused_imports]
level = "warn"
priority = -1
[lints.rust.unused_must_use]
level = "deny"
priority = -1
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Utility functions and helpers for Solana program development"
edition = "2021"
license = "MIT/Apache-2.0"
name = "program-utils"
readme = false
repository = "https://github.com/axelarnetwork/axelar-amplifier-solana"
version = "0.1.3"