dioxus-ai 0.1.0

AI hooks for Dioxus — chat, completions, and streaming in the browser
Documentation
# 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 = "2021"
name = "dioxus-ai"
version = "0.1.0"
authors = ["Ronaldo Lima"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI hooks for Dioxus — chat, completions, and streaming in the browser"
homepage = "https://github.com/aiconnai/cortex"
documentation = "https://docs.rs/cortex"
readme = "README.md"
keywords = [
    "ai",
    "dioxus",
    "llm",
    "chat",
    "wasm",
]
categories = [
    "api-bindings",
    "wasm",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/aiconnai/cortex"

[features]
default = ["web"]
desktop = ["dioxus/desktop"]
web = ["dioxus/web"]

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

[dependencies.cortexai-llm-client]
version = "0.1.0"

[dependencies.dioxus]
version = "0.6"
features = ["web"]

[dependencies.futures]
version = "0.3"

[dependencies.js-sys]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.wasm-bindgen-futures]
version = "0.4"

[dependencies.web-sys]
version = "0.3"
features = [
    "Headers",
    "Request",
    "RequestInit",
    "RequestMode",
    "Response",
    "ReadableStream",
    "ReadableStreamDefaultReader",
    "Window",
]

[dev-dependencies.wasm-bindgen-test]
version = "0.3"