# 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 = "skillfile-sources"
version = "1.7.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Source fetching and caching for skillfile: resolver, strategies, sync"
homepage = "https://github.com/eljulians/skillfile"
readme = false
keywords = [
    "ai",
    "ai-agents",
    "claude-code",
    "package-manager",
    "dotfiles",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/eljulians/skillfile"

[lib]
name = "skillfile_sources"
path = "src/lib.rs"

[dependencies.html-escape]
version = "0.2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.skillfile-core]
version = "1.7.0"

[dependencies.ureq]
version = "3"
features = ["json"]

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
cognitive_complexity = "deny"
doc_markdown = "allow"
empty_structs_with_brackets = "deny"
excessive_nesting = "deny"
fn_params_excessive_bools = "deny"
format_push_string = "deny"
implicit_clone = "deny"
manual_let_else = "deny"
manual_string_new = "deny"
many_single_char_names = "deny"
map_unwrap_or = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "warn"
needless_raw_strings = "deny"
redundant_closure_for_method_calls = "deny"
rest_pat_in_fully_bound_structs = "deny"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "deny"
string_lit_chars_any = "deny"
struct_excessive_bools = "allow"
too_many_arguments = "deny"
too_many_lines = "deny"
type_complexity = "deny"
unnested_or_patterns = "deny"
verbose_file_reads = "deny"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"
