# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "cpkg-bin" version = "0.1.0" build = "build.rs" exclude = [ ".github/*", ".gitignore", ".gitattributes", "database.toml", "deny.toml", ".clippy.toml", "tests/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "The cross-platform meta package manager" readme = "README.md" license = "MIT" license-file = "LICENSE" repository = "https://github.com/AMS21/cpkg" [profile.dev.package."*"] opt-level = 3 [profile.release] lto = "fat" codegen-units = 1 strip = "symbols" [lib] name = "cpkg" path = "src/lib.rs" [[bin]] name = "cpkg" path = "src/main.rs" [dependencies.clap] version = "4.5.20" features = [ "std", "color", "help", "usage", "error-context", "suggestions", "cargo", ] default-features = false [dependencies.color-eyre] version = "0.6.3" default-features = false [dependencies.serde] version = "1.0.210" features = ["derive"] default-features = false [dependencies.thiserror] version = "1.0.64" default-features = false [dependencies.toml] version = "0.8.19" features = ["parse"] default-features = false [dependencies.which] version = "6.0.3" default-features = false [dev-dependencies.assert_cmd] version = "2.0.16" default-features = false [build-dependencies.clap] version = "4.5.20" features = ["cargo"] default-features = false [build-dependencies.clap_complete] version = "4.5.33" default-features = false [build-dependencies.clap_complete_fig] version = "4.5.2" default-features = false [build-dependencies.clap_complete_nushell] version = "4.5.4" default-features = false [build-dependencies.clap_mangen] version = "0.2.24" default-features = false [features] apt = [] default = [ "apt", "pamac", ] pamac = [] [lints.clippy] allow_attributes = "warn" as_underscore = "warn" dbg_macro = "warn" empty_drop = "warn" empty_enum_variants_with_brackets = "warn" empty_structs_with_brackets = "warn" exit = "deny" expect_used = "deny" format_push_string = "warn" get_unwrap = "deny" if_then_some_else_none = "warn" impl_trait_in_params = "warn" indexing_slicing = "warn" infinite_loop = "warn" let_underscore_must_use = "warn" mem_forget = "warn" missing_assert_message = "deny" missing_asserts_for_indexing = "warn" missing_errors_doc = "allow" multiple_inherent_impl = "warn" multiple_unsafe_ops_per_block = "deny" needless_raw_strings = "warn" panic = "deny" panic_in_result_fn = "deny" rc_buffer = "warn" rc_mutex = "warn" redundant_type_annotations = "warn" ref_patterns = "deny" rest_pat_in_fully_bound_structs = "warn" str_to_string = "warn" string_lit_chars_any = "warn" string_to_string = "warn" todo = "deny" try_err = "warn" undocumented_unsafe_blocks = "warn" unimplemented = "deny" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" unreachable = "deny" unwrap_in_result = "deny" unwrap_used = "deny" use_debug = "warn" verbose_file_reads = "warn" wildcard_enum_match_arm = "warn" [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] non_ascii_idents = "deny"