# 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 = "2024"
name = "kodik-parser"
version = "3.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for getting direct links to files from Kodik."
homepage = "https://github.com/BatogiX/kodik"
documentation = "https://docs.rs/kodik-parser"
readme = "README.md"
keywords = [
    "rust",
    "library",
    "kodik",
    "parser",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BatogiX/kodik"

[features]
default = []

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

[dependencies.arc-swap]
version = "1.9.1"
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.kodik-utils]
version = "0.1.0"

[dependencies.lazy-regex]
version = "3.6.0"
features = ["lite"]
default-features = false

[dependencies.log]
version = "0.4.29"
default-features = false

[dependencies.regex-lite]
version = "0.1.9"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "json",
    "rustls",
    "form",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.tokio]
version = "1.50.0"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.149"

[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
multiple_crate_versions = "allow"
panic = "forbid"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

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

[lints.rust]
unsafe_code = "forbid"
