-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (53 loc) · 1.56 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
[package]
name = "path_ratchet"
authors = ["zSchoen <dev@zschoen.dev>"]
version = "0.3.0"
license = "LGPL-3.0-only"
edition = "2021"
description = "Prevent path traversal attacks at type level"
keywords = ["path-traversal", "fs", "security", "path_traversal", "path"]
readme = "README.md"
repository = "https://github.com/TheAlgorythm/path-ratchet"
documentation = "https://docs.rs/crate/path_ratchet"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[lints.rust]
unsafe_code = "deny"
missing_abi = "warn"
missing_docs = "warn"
noop_method_call = "warn"
unreachable_pub = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
use_self = "warn"
clone_on_ref_ptr = "warn"
cognitive_complexity = "warn"
as_conversions = "warn"
dbg_macro = "warn"
empty_structs_with_brackets = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
let_underscore_must_use = "warn"
map_err_ignore = "warn"
negative_feature_names = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_type_annotations = "warn"
ref_patterns = "warn"
rest_pat_in_fully_bound_structs = "warn"
str_to_string = "warn"
string_add = "warn"
string_slice = "warn"
string_to_string = "warn"
tests_outside_test_module = "warn"
undocumented_unsafe_blocks = "warn"
unneeded_field_pattern = "warn"
unseparated_literal_suffix = "warn"
unwrap_used = "warn"
wildcard_dependencies = "warn"