[package]
edition = "2024"
name = "patina_debugger"
version = "23.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Debugger implementation for a Patina Core."
readme = "README.md"
keywords = [
"uefi",
"firmware",
"edk2",
]
categories = [
"embedded",
"no-std",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/OpenDevicePartnership/patina"
[features]
alloc = []
ci_features = ["alloc"]
default = []
[lib]
name = "patina_debugger"
path = "src/lib.rs"
[dependencies.bitfield-struct]
version = "0.13"
[dependencies.cfg-if]
version = "1"
[dependencies.gdbstub]
version = "0.7.10"
default-features = false
[dependencies.log]
version = "0.4"
default-features = false
[dependencies.patina]
version = "23.3.2"
[dependencies.patina_internal_cpu]
version = "23.3.2"
[dependencies.patina_paging]
version = "11.1.1"
[dependencies.spin]
version = "0.12"
[dev-dependencies.mockall]
version = "0.15.0"
[dev-dependencies.patina]
version = "23.3.2"
features = ["mockall"]
[dev-dependencies.serial_test]
version = "3.5"
[target.'cfg(all(target_arch="x86_64"))'.dependencies.patina_mtrr]
version = "3"
[lints.clippy]
cast_possible_truncation = "allow"
cast_ptr_alignment = "allow"
elidable_lifetime_names = "allow"
indexing_slicing = "deny"
inline_always = "allow"
items_after_statements = "allow"
iter_without_into_iter = "allow"
large_stack_arrays = "allow"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
pub_underscore_fields = "allow"
redundant_feature_names = "allow"
ref_option_ref = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_box_returns = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
verbose_bit_mask = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]