lprs/Cargo.toml

93 lines
2.6 KiB
TOML
Raw Normal View History

2023-12-23 20:59:25 +01:00
[package]
2023-12-26 18:53:07 +01:00
name = "lprs"
version = "2.0.0-rc.2"
2023-12-23 20:59:25 +01:00
edition = "2021"
license = "GPL-3.0-or-later"
2024-03-15 04:06:49 +01:00
authors = ["Awiteb <a@4rs.nl>"]
2023-12-23 20:59:25 +01:00
readme = "README.md"
2024-05-10 13:06:56 +02:00
description = "A local CLI vaults manager. For human and machine use"
2024-03-15 04:08:33 +01:00
repository = "https://git.4rs.nl/awiteb/lprs"
2024-05-19 04:40:19 +02:00
rust-version = "1.74.1"
keywords = ["password", "vault", "manager", "CLI"]
2023-12-23 20:59:25 +01:00
categories = ["command-line-utilities"]
[dependencies]
clap = { version = "4.5.4", features = ["derive"] }
2023-12-23 20:59:25 +01:00
directories = "5.0.1"
log = "0.4.21"
2023-12-23 20:59:25 +01:00
passwords = { version = "3.1.16", features = ["common-password"] }
pretty_env_logger = "0.5.0"
regex = "1.10.4"
2024-05-19 05:01:42 +02:00
serde = { version = "1.0.202", features = ["derive"] }
thiserror = "1.0.61"
reqwest = { version = "0.12.4", optional = true, default-features = false, features = ["rustls-tls"] }
inquire = "0.7.5"
bincode = "1.3.3"
rand = "0.8.5"
cbc = { version = "0.1.2", features = ["alloc", "std"] }
aes = "0.8.4"
sha2 = "0.10.8"
2024-05-19 05:01:42 +02:00
serde_json = "1.0.117"
base64 = "0.22.1"
clap_complete = "4.5.2"
totp-lite = "2.0.1"
2024-05-19 05:01:42 +02:00
base32 = "0.5.0"
either = { version = "1.13.0", default-features = false }
2024-01-02 19:59:25 +01:00
[features]
default = ["update-notify"]
update-notify = ["reqwest/blocking"]
2023-12-23 20:59:25 +01:00
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints.clippy]
# I know is huge, but I like to be explicit, it also provides
# a better DX for new contributors (Make it easier to understand the codebase).
# Also, this is a general linting configuration, it's not specific to this project.
wildcard_imports = "deny"
manual_let_else = "deny"
match_bool = "deny"
match_on_vec_items = "deny"
or_fun_call = "deny"
panic = "deny"
unwrap_used = "deny"
missing_assert_message = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "warn"
absolute_paths = "warn"
cast_lossless = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
default_trait_access = "warn"
empty_enum_variants_with_brackets = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
empty_structs_with_brackets = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
explicit_iter_loop = "warn"
filetype_is_file = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
format_push_string = "warn"
future_not_send = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
indexing_slicing = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
manual_is_variant_and = "warn"
option_if_let_else = "warn"
option_option = "warn"
2023-12-23 20:59:25 +01:00
[profile.release]
strip = true # Automatically strip symbols from the binary.