-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
104 lines (94 loc) · 2.86 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
103
104
# SPDX-FileCopyrightText: 2025 Matthew Mark Ibbetson
# SPDX-FileContributor: Matthew Mark Ibbetson
#
# SPDX-License-Identifier: GPL-3.0-or-later
[package]
name = "ssg-dj"
version = "0.1.0"
edition = "2021"
rust-version = "1.80.0"
authors = ["Matthew Mark Ibbetson <[email protected]>"]
description = "A simple, minimal, and flexible command line utility for managing plaintext files."
keywords = ["cli", "utility", "file", "notes"]
categories = ["command-line-utilities"]
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/mmibbetson/ssg-dj"
homepage = "https://mmibbetson.github.io/software/ssg-dj"
[[bin]]
name = "ssg-dj"
path = "src/main.rs"
doc = true
[workspace]
members = [".", "xtask"]
[workspace.dependencies.clap]
version = "4.5.20"
features = ["derive", "wrap_help"]
[workspace.package]
edition = "2021"
version = "0.1.0"
[lib]
name = "ssg_dj_lib"
path = "src/lib.rs"
doc = false
[dependencies]
anyhow = "1.0.92" # MIT or Apache-2.0
serde = { version = "1.0.214", features = ["derive"] } # MIT or Apache-2.0
toml = "0.8.19" # MIT or Apache-2.0
clap.workspace = true # MIT or Apache-2.0
jotdown = "0.7.0" # MIT or Apache-2.0
syntect = "5.2.0" # MIT or Apache-2.0
[profile.release]
opt-level = 3
lto = true
strip = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = -1 }
cargo = { level = "warn", priority = -1 }
pedantic = { level = "deny", priority = -1 }
restriction = { level = "allow", priority = -1 }
allow_attributes_without_reason = "deny"
create_dir = "deny"
dbg_macro = "deny"
empty_enum_variants_with_brackets = "deny"
empty_structs_with_brackets = "deny"
error_impl_error = "deny"
filetype_is_file = "deny"
format_push_string = "deny"
if_then_some_else_none = "deny"
impl_trait_in_params = "deny"
indexing_slicing = "deny"
infinite_loop = "deny"
map_err_ignore = "deny"
map_with_unused_argument_over_ranges = "deny"
missing_assert_message = "warn"
mixed_read_write_in_expression = "deny"
mod_module_files = "deny"
module_name_repetitions = "warn"
needless_raw_strings = "deny"
needless_update = "deny"
panic = "warn"
pathbuf_init_then_push = "deny"
print_stderr = "warn"
pub_without_shorthand = "deny"
redundant_type_annotations = "deny"
renamed_function_params = "deny"
rest_pat_in_fully_bound_structs = "deny"
same_name_method = "deny"
semicolon_outside_block = "deny"
shadow_same = "deny"
str_to_string = "deny"
string_add = "deny"
string_to_string = "deny"
tests_outside_test_module = "deny"
todo = "deny"
too_many_lines = "allow"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unnecessary_self_imports = "deny"
unneeded_field_pattern = "deny"
unseparated_literal_suffix = "deny"
unwrap_used = "deny"
verbose_file_reads = "deny"