# 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"
rust-version = "1.89"
name = "outfox"
version = "0.7.0"
authors = ["Chrislearn Young <chris@acroidea.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Experimental AI API client library for Rust.
"""
homepage = "https://github.com/taidge/outfox"
documentation = "https://docs.rs/outfox/"
readme = "README.md"
keywords = [
    "openai",
    "async",
    "openapi",
    "ai",
]
categories = [
    "api-bindings",
    "web-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/taidge/outfox"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
doubao = ["dep:outfox-doubao"]
full = [
    "openai",
    "zhipu",
    "doubao",
]
openai = ["dep:outfox-openai"]
zhipu = ["dep:outfox-zhipu"]

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

[dependencies.outfox-doubao]
version = "0.7.0"
optional = true
default-features = false

[dependencies.outfox-openai]
version = "0.7.0"
optional = true
default-features = false

[dependencies.outfox-zhipu]
version = "0.7.0"
optional = true
default-features = false

[lints.clippy]
await_holding_lock = "warn"
dbg_macro = "warn"
empty_enums = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
filter_map_next = "warn"
fn_params_excessive_bools = "warn"
future_not_send = "warn"
if_let_mutex = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
inefficient_to_string = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_let_else = "warn"
mem_forget = "warn"
must_use_candidate = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_pass_by_ref_mut = "warn"
option_option = "warn"
redundant_clone = "warn"
ref_option = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
single_match_else = "warn"
str_to_string = "warn"
suboptimal_flops = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
type_complexity = "allow"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
unused_self = "warn"
unwrap_used = "warn"
use_self = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "warn"
