# 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 = "deepwoken"
version = "0.2.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for interacting with Deepwoken data in a more convenient format, with a few added utilities."
readme = false
license = "MIT"
repository = "https://github.com/pocamind/deep-sdk"

[features]
fetch = ["dep:reqwest"]
static = []

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

[dependencies.env_logger]
version = "0.11.9"

[dependencies.log]
version = "0.4.29"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.winnow]
version = "0.7.14"

[dev-dependencies.tokio]
version = "1.49.0"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false
