-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
102 lines (92 loc) · 2.82 KB
/
Cargo.toml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[workspace.package]
description = "The Oro Operating System kernel project"
homepage = "https://oro.sh"
repository = "https://github.com/oro-os/kernel"
license = "MPL-2.0"
version = "0.0.0"
[workspace]
resolver = "2"
members = [
"oro-acpi",
"oro-acpica-sys",
"oro-arch-aarch64",
"oro-arch-x86_64",
"oro-boot",
"oro-boot-protocol",
"oro-bootloader-limine",
"oro-mem",
"oro-elf",
"oro-macro",
"oro-macro-proc",
"oro-kernel",
"oro-debug",
"oro-debug-pl011",
"oro-debug-uart16550",
"oro-type",
"oro-dtb",
"oro-dbgutil",
"oro-id",
"oro-sync",
]
[workspace.dependencies]
oro-acpi.path = "oro-acpi"
oro-acpica-sys.path = "oro-acpica-sys"
oro-arch-aarch64.path = "oro-arch-aarch64"
oro-arch-x86_64.path = "oro-arch-x86_64"
oro-boot.path = "oro-boot"
oro-boot-protocol.path = "oro-boot-protocol"
oro-mem.path = "oro-mem"
oro-macro.path = "oro-macro"
oro-macro-proc.path = "oro-macro-proc"
oro-elf.path = "oro-elf"
oro-kernel.path = "oro-kernel"
oro-debug.path = "oro-debug"
oro-debug-pl011.path = "oro-debug-pl011"
oro-debug-uart16550.path = "oro-debug-uart16550"
oro-type.path = "oro-type"
oro-dtb.path = "oro-dtb"
oro-dbgutil.path = "oro-dbgutil"
oro-id.path = "oro-id"
oro-sync.path = "oro-sync"
limine = "0.2.0"
uart_16550 = "0.3.0"
volatile-register = "0.2.2"
buddy_system_allocator = "0.11.0"
bindgen = { git = "https://github.com/oro-os/dep.rust-bindgen.git" }
syn = { version = "2.0.60", features = ["full", "printing"] }
quote = "1.0.36"
proc-macro2 = { version = "1.0.81", features = ["proc-macro"] }
convert_case = "0.6.0"
[workspace.lints.rust]
missing_docs = "warn"
[workspace.lints.rustdoc]
private_doc_tests = "allow"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
missing_docs_in_private_items = "warn"
integer_division = "warn"
module_name_repetitions = "allow"
verbose_bit_mask = "allow"
too_many_lines = "allow"
missing_errors_doc = "allow"
struct_field_names = "allow"
items_after_statements = "allow"
cast_possible_truncation = "allow" # TODO(qix-): Temporary until the virt/phys types land.
assertions_on_constants = "allow"
new_without_default = "allow"
[profile.dev]
panic = "abort" # Use "abort" panic strategy
debug = "full" # Full debugging symbols
[profile.release]
opt-level = 3 # Maximum optimizations
lto = "fat" # Perform LTO across all crates
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
strip = true # Strip symbols from binary
incremental = false # Disable incremental building
panic = "abort" # Use "abort" panic strategy
debug = 0 # Do not generate debug information
[profile.relwithdebinfo]
inherits = "release"
debug = "full" # Full debugging symbols
strip = false # Don't strip symbols from binary