# 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 = "mimo-api"
version = "0.2.1"
authors = ["SmileSky <mzdk100@foxmail.com>"]
build = false
exclude = [
    "examples/*",
    "tests/*",
    "*.wav",
    "*.mp3",
    "docs.html",
    "tts.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Xiaomi MiMo API client library for Rust"
documentation = "https://docs.rs/mimo-api"
readme = "README.md"
keywords = [
    "xiaomi",
    "mimo",
    "llm",
    "api",
    "openai-compatible",
]
categories = [
    "api-bindings",
    "web-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/mzdk100/mimo"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.futures]
version = "0.3.32"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "native-tls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

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