-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
38 lines (31 loc) · 1.1 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
# SPDX-FileCopyrightText: 2023 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
authors = ["Shun Sakai <[email protected]>"]
edition = "2021"
rust-version = "1.74.0"
homepage = "https://sorairolake.github.io/abcrypt/"
repository = "https://github.com/sorairolake/abcrypt"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.dependencies]
anyhow = "1.0.93"
clap = { version = "4.5.21", features = ["derive"] }
dialoguer = { version = "0.11.0", default-features = false, features = ["password"] }
[workspace.lints.clippy]
cargo = "warn"
nursery = "warn"
pedantic = "warn"
[workspace.lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = { level = "warn", priority = -1 }
[profile.release.package.abcrypt-cli]
codegen-units = 1
# The `lto` setting cannot be specified yet, see https://github.com/rust-lang/cargo/issues/9330
# lto = true
# The `panic` setting cannot be specified yet, see https://github.com/rust-lang/cargo/issues/9330
# panic = "abort"
strip = true