Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

169 changes: 114 additions & 55 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,62 +1,121 @@
[workspace]
members = [
"libvctrl",
"libvctrl_core",
"libvctrl_handler",
"libvctrl_plumbing",
"libvctrl_porcelain",
"libvctrl_sha512"
]
resolver = "2"
members = ["libvctrl", "libvctrl_core", "libvctrl_handler", "libvctrl_plumbing", "libvctrl_porcelain", "libvctrl_sha512"]

[workspace.package]
edition = "2024"
rust-version = "1.96"
license = "MIT"
authors = ["mroczect"]
repository = "https://github.com/mroczect/libvctrl"
homepage = "https://github.com/mroczect/libvctrl"
documentation = "https://docs.rs/libvctrl"
keywords = ["git", "vcs", "cryptography", "sha512", "no-std"]
categories = ["development-tools", "cryptography", "algorithms", "no-std"]

[workspace.lints.rust]
unsafe_code = "forbid"
macro_use_extern_crate = "forbid"
missing_docs = "warn"
dead_code = "warn"
unused_imports = "warn"
unused_variables = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_crate_dependencies = "warn"
unreachable_pub = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
non_ascii_idents = "warn"
trivial_bounds = "warn"
unit_bindings = "warn"
single_use_lifetimes = "warn"
redundant_lifetimes = "warn"
rust_2021_compatibility = { level = "warn", priority = -1 }
rust_2024_compatibility = { level = "warn", priority = -1 }
unused_qualifications = "warn"
noop_method_call = "warn"
unnameable_types = "warn"

[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "allow", priority = -1 }
nursery = { level = "allow", priority = -1 }
cargo = { level = "allow", priority = -1 }
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
indexing_slicing = "warn"
map_err_ignore = "warn"
wildcard_enum_match_arm = "warn"
std_instead_of_core = "allow"
std_instead_of_alloc = "allow"
alloc_instead_of_core = "allow"
doc_markdown = "allow"
all = "deny"
alloc_instead_of_core = "deny"
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
arithmetic_side_effects = "deny"
cargo = "deny"
complexity = "deny"
correctness = "deny"
doc_lazy_continuation = "allow"
needless_return = "allow"
doc_markdown = "allow"
empty_docs = "allow"
expect_used = "deny"
implicit_hasher = "allow"
indexing_slicing = "deny"
map_err_ignore = "deny"
match_same_arms = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_name_repetitions = "allow"
needless_doctest_main = "allow"
needless_return = "allow"
nursery = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
restriction = "deny"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
style = "deny"
suspicious = "deny"
uninlined_format_args = "allow"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"

[workspace.lints.rust]
deprecated = "deny"
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "deny"
future_incompatible = "deny"
invalid_reference_casting = "deny"
macro_use_extern_crate = "deny"
missing_copy_implementations = "deny"
missing_debug_implementations = "deny"
missing_docs = "allow"
no_mangle_generic_items = "deny"
non_ascii_idents = "deny"
non_camel_case_types = "deny"
non_snake_case = "deny"
non_upper_case_globals = "deny"
noop_method_call = "deny"
overlapping_range_endpoints = "deny"
private_bounds = "deny"
private_interfaces = "deny"
redundant_lifetimes = "deny"
renamed_and_removed_lints = "deny"
rust_2018_idioms = "deny"
rust_2021_compatibility = "deny"
rust_2024_compatibility = "deny"
single_use_lifetimes = "deny"
trivial_bounds = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unaligned_references = "deny"
unexpected_cfgs = "deny"
uninhabited_static = "deny"
unit_bindings = "deny"
unknown_lints = "deny"
unnameable_types = "deny"
unreachable_code = "deny"
unreachable_patterns = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"
unused = "deny"
unused_allocation = "deny"
unused_assignments = "deny"
unused_braces = "deny"
unused_comparisons = "deny"
unused_crate_dependencies = "deny"
unused_doc_comments = "allow"
unused_extern_crates = "deny"
unused_features = "deny"
unused_imports = "deny"
unused_labels = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_macros = "deny"
unused_must_use = "deny"
unused_mut = "deny"
unused_parens = "deny"
unused_qualifications = "deny"
unused_results = "deny"
unused_tuple_struct_fields = "deny"
unused_unsafe = "deny"
unused_variables = "deny"
warnings = "deny"

[workspace.package]
authors = [ "mroczect" ]
categories = [ "development-tools", "cryptography", "algorithms", "no-std" ]
documentation = "https://docs.rs/libvctrl"
edition = "2024"
homepage = "https://github.com/mroczect/libvctrl"
keywords = [ "git", "vcs", "cryptography", "sha512", "no-std" ]
license = "MIT"
repository = "https://github.com/mroczect/libvctrl"
rust-version = "1.96"
Loading