-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (65 loc) · 1.66 KB
/
Cargo.toml
File metadata and controls
75 lines (65 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "pvh"
version = "0.1.0"
authors = ["Martin Kröning <mkroening@posteo.net>"]
edition = "2024"
rust-version = "1.85"
description = "Xen's x86/HVM direct boot ABI (PVH)."
repository = "https://github.com/rust-osdev/pvh"
license = "MIT OR Apache-2.0"
keywords = ["pvh", "kernel", "boot", "osdev"]
categories = [
"embedded",
"external-ffi-bindings",
"no-std::no-alloc",
]
[package.metadata.docs.rs]
default-target = "x86_64-unknown-none"
rustdoc-args = [
"--generate-link-to-definition",
"--generate-macro-expansion",
]
cargo-args = ["-Zrustdoc-scrape-examples"]
[[example]]
name = "print"
doc-scrape-examples = true
[dependencies]
bitflags = "2"
num_enum = { version = "0.7", default-features = false }
[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
x86_64 = { version = "0.15", default-features = false }
[features]
default = ["elfnote", "reader"]
elfnote = []
reader = []
[lints.rust]
# Lint groups
let_underscore = "warn"
rust_2018_idioms = "warn"
# Lints
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.clippy]
# Lint groups
cargo = "warn"
# Lints
arbitrary_source_item_ordering = "warn"
multiple_unsafe_ops_per_block = "warn"
undocumented_unsafe_blocks = "warn"
[lints.rustdoc]
all = "warn"