99 lines
1.7 KiB
TOML
99 lines
1.7 KiB
TOML
#
|
|
# MARK: meta
|
|
#
|
|
|
|
[package]
|
|
name = "redox_bootloader"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "bootloader"
|
|
path = "src/main.rs"
|
|
crate-type = ["staticlib"]
|
|
|
|
|
|
#
|
|
# MARK: lints
|
|
#
|
|
|
|
|
|
[lints.rust]
|
|
unused_import_braces = "deny"
|
|
unit_bindings = "deny"
|
|
single_use_lifetimes = "deny"
|
|
non_ascii_idents = "deny"
|
|
macro_use_extern_crate = "deny"
|
|
elided_lifetimes_in_paths = "deny"
|
|
absolute_paths_not_starting_with_crate = "deny"
|
|
explicit_outlives_requirements = "warn"
|
|
unused_crate_dependencies = "warn"
|
|
#variant_size_differences = "warn"
|
|
redundant_lifetimes = "warn"
|
|
missing_docs = "allow"
|
|
|
|
[lints.clippy]
|
|
needless_return = "allow"
|
|
new_without_default = "allow"
|
|
tabs_in_doc_comments = "allow"
|
|
|
|
# Extra
|
|
expect_used = "deny"
|
|
#unwrap_used = "deny"
|
|
#panic = "deny"
|
|
dbg_macro = "deny"
|
|
allow_attributes = "deny"
|
|
create_dir = "deny"
|
|
filetype_is_file = "deny"
|
|
integer_division = "deny"
|
|
lossy_float_literal = "deny"
|
|
map_err_ignore = "deny"
|
|
mutex_atomic = "deny"
|
|
needless_raw_strings = "deny"
|
|
print_stderr = "deny"
|
|
print_stdout = "deny"
|
|
str_to_string = "deny"
|
|
string_add = "deny"
|
|
string_to_string = "deny"
|
|
unimplemented = "deny"
|
|
use_debug = "deny"
|
|
verbose_file_reads = "deny"
|
|
#wildcard_enum_match_arm = "deny"
|
|
|
|
# Pedantic
|
|
large_types_passed_by_value = "deny"
|
|
match_on_vec_items = "deny"
|
|
|
|
# Cargo
|
|
wildcard_dependencies = "deny"
|
|
negative_feature_names = "deny"
|
|
redundant_feature_names = "deny"
|
|
multiple_crate_versions = "deny"
|
|
|
|
|
|
#
|
|
# MARK: dependencies
|
|
#
|
|
|
|
|
|
[dependencies]
|
|
bitflags = "1.3.2"
|
|
linked_list_allocator = "0.10.5"
|
|
log = "0.4.17"
|
|
redox_syscall = "0.5"
|
|
spin = "0.9.5"
|
|
|
|
[dependencies.redoxfs]
|
|
version = "0.6.0"
|
|
default-features = false
|
|
features = ["force-soft", "log"]
|
|
|
|
#
|
|
# MARK: features
|
|
#
|
|
|
|
[features]
|
|
serial_debug = []
|
|
live = []
|