59 lines
1.3 KiB
TOML
59 lines
1.3 KiB
TOML
[package]
|
|
name = "builder"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
#
|
|
# MARK: lints
|
|
#
|
|
|
|
[workspace.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"
|
|
redundant_lifetimes = "warn"
|
|
missing_docs = "allow"
|
|
|
|
[workspace.lints.clippy]
|
|
needless_return = "allow"
|
|
new_without_default = "allow"
|
|
tabs_in_doc_comments = "allow"
|
|
expect_used = "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"
|
|
large_types_passed_by_value = "deny"
|
|
match_on_vec_items = "deny"
|
|
wildcard_dependencies = "deny"
|
|
negative_feature_names = "deny"
|
|
redundant_feature_names = "deny"
|
|
|
|
#
|
|
# MARK: dependencies
|
|
#
|
|
|
|
[dependencies]
|
|
anstyle = "1.0.10"
|
|
clap = { version = "4.5.23", features = ["derive"] }
|
|
gpt = "4.0.0"
|