[package]
edition = "2024"
rust-version = "1.97"
name = "moa_memops"
version = "0.5.0"
authors = ["Zhang hengtian <hengtian.zhang@foxmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "底层内存操作(clear_page 等)"
readme = false
license = "Apache-2.0"
repository = "https://gitee.com/smoana/moana"
[lib]
name = "moa_memops"
path = "src/lib.rs"
[dependencies.moa_vmem]
version = "0.5"
default-features = false
[build-dependencies.moatarget]
version = "0.5"
default-features = false
[lints.clippy]
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
inline_always = "allow"
mem_forget = "warn"
missing_const_for_fn = "warn"
mod_module_files = "allow"
module_inception = "warn"
must_use_candidate = "allow"
new_without_default = "allow"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
string_add = "warn"
string_lit_as_bytes = "warn"
todo = "warn"
unimplemented = "warn"
uninlined_format_args = "allow"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unreadable_literal = "allow"
verbose_file_reads = "warn"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_abi = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
static_mut_refs = "deny"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_extern_crates = "warn"
unused_import_braces = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"