# 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 = "rig-extra"
version = "0.16.0"
authors = ["cyberdoors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "基于rig-core的简单扩展"
readme = "README.md"
keywords = [
    "rig-core-extra",
    "bigmodel",
    "rig-core",
]
license = "MIT"
repository = "https://github.com/launcher-rs/rig-extra-project"

[features]
default = ["rig-core/default"]
rig-all = ["rig-core/all"]
rig-audio = ["rig-core/audio"]
rig-derive = ["rig-core/derive"]
rig-discord-bot = ["rig-core/discord-bot"]
rig-epub = ["rig-core/epub"]
rig-experimental = ["rig-core/experimental"]
rig-extra-tools = [
    "chrono",
    "tyme4rs",
    "scraper",
    "tavily2",
]
rig-image = ["rig-core/image"]
rig-pdf = ["rig-core/pdf"]
rig-rayon = ["rig-core/rayon"]
rig-reqwest-middleware = ["rig-core/reqwest-middleware"]
rig-reqwest-middleware-rustls = ["rig-core/reqwest-middleware-rustls"]
rig-reqwest-rustls = [
    "rig-core/reqwest-rustls",
    "reqwest/rustls-tls",
    "reqwest/charset",
    "reqwest/http2",
    "reqwest/macos-system-configuration",
]
rig-reqwest-tls = ["rig-core/reqwest-tls"]
rig-rmcp = ["rig-core/rmcp"]
rig-socks = ["rig-core/socks"]
rig-wasm = ["rig-core/wasm"]

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

[dependencies.backon]
version = "1.6.0"

[dependencies.chrono]
version = "0.4.42"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.http]
version = "1.3.1"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "multipart",
]
default-features = false

[dependencies.rig-core]
version = "0.27.0"
optional = true
default-features = false

[dependencies.schemars]
version = "1.0.4"

[dependencies.scraper]
version = "0.24.0"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.strum_macros]
version = "0.27.1"

[dependencies.tavily2]
version = "0.1.0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tyme4rs]
version = "1.3.3"
optional = true

[dev-dependencies.config]
version = "0.15"
