[package]
edition = "2021"
name = "morph-cache"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Global cache management for morphc"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Levizr/morph"
[lib]
name = "morph_cache"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.dirs]
version = "6.0"
[dependencies.flate2]
version = "1.1"
[dependencies.hex]
version = "0.4"
[dependencies.morph-config]
version = "0.1.0"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tar]
version = "0.4"
[dependencies.walkdir]
version = "2.5"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
enum_variant_names = "allow"
implicit_hash_new = "allow"
large_enum_variant = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
missing_transmute_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
suboptimal_flops = "allow"
too_many_arguments = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
redundant_imports = "warn"
unreachable_pub = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"