[package]
edition = "2024"
name = "crawlkit-core"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "crawlkit 核心类型、trait 和错误定义,零 HTTP 依赖"
readme = "README.md"
license = "MIT"
repository = "https://github.com/launcher-rs/crawlkit"
[lib]
name = "crawlkit_core"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.url]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
exit = "warn"
expect_used = "warn"
fn_params_excessive_bools = "allow"
get_unwrap = "warn"
if_not_else = "allow"
items_after_statements = "warn"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_closure_for_method_calls = "warn"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_used = "warn"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"