# 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.82" name = "hddfancontrol" version = "2.0.0-beta.1" authors = ["desbma"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Daemon to regulate fan speed according to hard drive temperature on Linux" readme = "README.md" keywords = [ "hdd", "drive", "temperature", "fan", "control", ] categories = ["command-line-utilities"] license = "GPL-3.0-only" repository = "https://github.com/desbma/hddfancontrol" [package.metadata.deb] assets = [ [ "target/release/hddfancontrol", "usr/bin/", "755", ], [ "systemd/hddfancontrol.conf", "etc/conf.d/hddfancontrol", "644", ], ] depends = "$auto, hdparm, smartmontools" maintainer-scripts = "debian/" [package.metadata.deb.systemd-units] enable = false start = false unit-scripts = "systemd/" [profile.release] lto = true codegen-units = 1 strip = true [[bin]] name = "hddfancontrol" path = "src/main.rs" [dependencies.anyhow] version = "1.0.93" features = [ "std", "backtrace", ] default-features = false [dependencies.backoff] version = "0.4.0" default-features = false [dependencies.clap] version = "4.5.20" features = [ "std", "color", "help", "usage", "error-context", "suggestions", "derive", ] default-features = false [dependencies.clap-num] version = "1.1.1" default-features = false [dependencies.ctrlc] version = "3.4.5" features = ["termination"] default-features = false [dependencies.humantime] version = "2.1.0" default-features = false [dependencies.itertools] version = "0.13.0" features = ["use_std"] default-features = false [dependencies.log] version = "0.4.22" features = [ "max_level_trace", "release_max_level_trace", ] default-features = false [dependencies.nix] version = "0.29.0" features = ["fs"] default-features = false [dependencies.simple_logger] version = "5.0.0" features = [ "colors", "stderr", ] default-features = false [dependencies.strum] version = "0.26.3" features = [ "std", "derive", ] default-features = false [dependencies.thiserror] version = "1.0.69" default-features = false [dependencies.typed_floats] version = "1.0.2" features = [ "std", "compiler_hints", "ensure_no_undefined_behavior", ] default-features = false [dev-dependencies.float-cmp] version = "0.10.0" features = ["std"] default-features = false [dev-dependencies.serial_test] version = "3.2.0" default-features = false [dev-dependencies.tempfile] version = "3.14.0" default-features = false [lints.clippy] allow_attributes = "warn" clone_on_ref_ptr = "warn" dbg_macro = "warn" empty_enum_variants_with_brackets = "warn" expect_used = "warn" field_scoped_visibility_modifiers = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" if_then_some_else_none = "warn" impl_trait_in_params = "warn" infinite_loop = "warn" lossy_float_literal = "warn" missing_docs_in_private_items = "warn" mixed_read_write_in_expression = "warn" multiple_inherent_impl = "warn" needless_raw_strings = "warn" panic = "warn" pathbuf_init_then_push = "warn" pub_without_shorthand = "warn" redundant_type_annotations = "warn" ref_patterns = "warn" renamed_function_params = "warn" rest_pat_in_fully_bound_structs = "warn" same_name_method = "warn" self_named_module_files = "warn" semicolon_inside_block = "warn" shadow_unrelated = "warn" str_to_string = "warn" string_slice = "warn" string_to_string = "warn" tests_outside_test_module = "warn" try_err = "warn" undocumented_unsafe_blocks = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unneeded_field_pattern = "warn" unseparated_literal_suffix = "warn" unused_result_ok = "warn" unwrap_used = "warn" verbose_file_reads = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] explicit_outlives_requirements = "warn" missing_docs = "warn" non_ascii_idents = "deny" redundant-lifetimes = "warn" single-use-lifetimes = "warn" unit-bindings = "warn" unreachable_pub = "warn" unused-lifetimes = "warn" unused-qualifications = "warn" unused_crate_dependencies = "warn"