-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (79 loc) · 2.34 KB
/
Cargo.toml
File metadata and controls
91 lines (79 loc) · 2.34 KB
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
# -*- coding: utf-8 -*-
[workspace]
members = [ "disktest", "disktest-lib" , "disktest-rawio" ]
resolver = "3"
[workspace.package]
description = "Tester for Solid State Disks, Non-Volatile Memory Storage, Hard Disks, USB Sticks, SD-Cards, etc.."
homepage = "https://bues.ch/h/disktest"
repository = "https://github.com/mbuesch/disktest"
license = "MIT OR Apache-2.0"
readme = "README.md"
authors = [ "Michael Büsch <m@bues.ch>" ]
categories = [ "command-line-utilities", "filesystem", "hardware-support" ]
keywords = [ "disk", "HDD", "SSD", "flash", "SD-card" ]
edition = "2024"
rust-version = "1.85"
version = "2.0.0"
[workspace.dependencies]
anyhow = "1"
chrono = "0.4"
clap = { version = "4", features = [ "derive", "color", "wrap_help" ] }
libc = "0.2"
movavg = "2"
rand = "0.10"
rand_chacha = "0.10"
regex = "1"
ring = "0.17"
signal-hook = "0.4"
tempfile = "3"
winapi = "0.3"
disktest-lib = { version = "2", path = "./disktest-lib" }
disktest-rawio = { version = "2", path = "./disktest-rawio" }
[workspace.lints.clippy]
# Lints from `cargo` group
cargo = "warn"
multiple-crate-versions = { level = "allow", priority = 1 }
# Lints from `pedantic` group
pedantic = "warn"
cast_precision_loss = { level = "allow", priority = 1 }
default_trait_access = { level = "allow", priority = 1 }
implicit_clone = { level = "allow", priority = 1 }
manual_string_new = { level = "allow", priority = 1 }
missing-errors-doc = { level = "allow", priority = 1 }
missing-panics-doc = { level = "allow", priority = 1 }
must_use_candidate = { level = "allow", priority = 1 }
similar-names = { level = "allow", priority = 1 }
struct-excessive-bools = { level = "allow", priority = 1 }
too_many_lines = { level = "allow", priority = 1 }
unnecessary_wraps = { level = "allow", priority = 1 }
# Lints from `restriction` group
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
mem_forget = "warn"
precedence_bits = "warn"
todo = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
[profile.dev]
lto = "thin"
panic = "abort"
debug = "limited"
opt-level = 2
[profile.release]
lto = "fat"
panic = "abort"
strip = "symbols"
codegen-units = 1
[profile.test]
lto = "thin"
debug = "limited"
opt-level = 2
[profile.bench]
lto = "fat"
strip = "symbols"
codegen-units = 1
# vim: ts=4 sw=4 expandtab