diff --git a/.rustfmt.toml b/.rustfmt.toml index 324bf8b..9d5c77e 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,26 +1,26 @@ -condense_wildcard_suffixes = true +condense_wildcard_suffixes = true doc_comment_code_block_width = 80 -edition = "2024" # Keep in sync with Cargo.toml. +edition = "2024" # Keep in sync with Cargo.toml. enum_discrim_align_threshold = 60 -force_explicit_abi = false -force_multiline_blocks = true -format_code_in_doc_comments = true -format_macro_matchers = true -format_strings = true -group_imports = "StdExternalCrate" -hex_literal_case = "Upper" -imports_granularity = "Crate" -imports_layout = "HorizontalVertical" -inline_attribute_width = 60 -match_block_trailing_comma = true -max_width = 80 -newline_style = "Unix" -normalize_comments = true -normalize_doc_attributes = true -overflow_delimited_expr = true +force_explicit_abi = false +force_multiline_blocks = true +format_code_in_doc_comments = true +format_macro_matchers = true +format_strings = true +group_imports = "StdExternalCrate" +hex_literal_case = "Upper" +imports_granularity = "Crate" +imports_layout = "HorizontalVertical" +inline_attribute_width = 60 +match_block_trailing_comma = true +max_width = 80 +newline_style = "Unix" +normalize_comments = true +normalize_doc_attributes = true +overflow_delimited_expr = true struct_field_align_threshold = 60 -tab_spaces = 2 -unstable_features = true -use_field_init_shorthand = true -use_try_shorthand = true -wrap_comments = true +tab_spaces = 2 +unstable_features = true +use_field_init_shorthand = true +use_try_shorthand = true +wrap_comments = true diff --git a/Cargo.toml b/Cargo.toml index d04cc5b..4160d02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ members = [ "eh", "crates/*" ] resolver = "3" [workspace.package] -authors = [ "NotAShelf" ] description = "Ergonomic Nix CLI helper" edition = "2024" license = "MPL-2.0" @@ -13,12 +12,14 @@ rust-version = "1.94.0" version = "0.2.0" [workspace.dependencies] -clap = { default-features = false, features = [ "std", "help", "derive" ], version = "4.6.1" } -clap_complete = "4.6.3" +# Workspace members eh = { path = "./eh", version = "0.2.0" } eh-config = { path = "./crates/eh-config", version = "0.2.0" } eh-log = { path = "./crates/eh-log", version = "0.2.0" } nix-command = { path = "./crates/nix-command", version = "0.2.0" } + +clap = { default-features = false, features = [ "std", "help", "derive" ], version = "4.6.1" } +clap_complete = "4.6.3" dialoguer = { default-features = false, version = "0.12.0" } dirs = "6.0.0" regex = "1.12.3" diff --git a/crates/eh-config/Cargo.toml b/crates/eh-config/Cargo.toml index 28ec0e1..46b83e0 100644 --- a/crates/eh-config/Cargo.toml +++ b/crates/eh-config/Cargo.toml @@ -3,7 +3,6 @@ name = "eh-config" description = "Configuration loading for eh" version.workspace = true edition.workspace = true -authors.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/nix-command/Cargo.toml b/crates/nix-command/Cargo.toml index b18b531..8de1ddb 100644 --- a/crates/nix-command/Cargo.toml +++ b/crates/nix-command/Cargo.toml @@ -3,8 +3,9 @@ name = "nix-command" description = "Typed Nix command construction and execution" version.workspace = true edition.workspace = true -authors.workspace = true rust-version.workspace = true +publish = true +license.workspace = true [dependencies] thiserror.workspace = true diff --git a/eh/Cargo.toml b/eh/Cargo.toml index 5d6ca39..7b6b533 100644 --- a/eh/Cargo.toml +++ b/eh/Cargo.toml @@ -13,14 +13,14 @@ name = "eh" clap.workspace = true clap_complete.workspace = true dialoguer.workspace = true -eh-config.workspace = true -eh-log.workspace = true -nix-command.workspace = true -regex.workspace = true -serde.workspace = true -serde_json.workspace = true -tempfile.workspace = true -textwrap.workspace = true -thiserror.workspace = true -walkdir.workspace = true -yansi.workspace = true +eh-config.workspace = true +eh-log.workspace = true +nix-command.workspace = true +regex.workspace = true +serde.workspace = true +serde_json.workspace = true +tempfile.workspace = true +textwrap.workspace = true +thiserror.workspace = true +walkdir.workspace = true +yansi.workspace = true