weft-core 0.1.1

OpenAI-compatible AI agent runtime with WASM capability plugin system
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 = "weft-core"
version = "0.1.1"
build = false
exclude = ["examples/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAI-compatible AI agent runtime with WASM capability plugin system"
documentation = "https://docs.rs/weft-core"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "openai",
    "agent",
    "wasm",
]
categories = [
    "api-bindings",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/ailiheizi/weft-core"

[features]
default = []
embed-flutter = ["dep:flutter_rust_bridge"]

[lib]
name = "weft_core"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "weft"
path = "src/bin/weft.rs"

[[bin]]
name = "weft-core"
path = "src/main.rs"

[[bin]]
name = "weft-rpc"
path = "src/bin/weft-rpc.rs"

[[bin]]
name = "weft-sign"
path = "src/bin/weft-sign.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.extism]
version = "1.9"

[dependencies.flutter_rust_bridge]
version = "=2.12.0"
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.lazy_static]
version = "1.4"

[dependencies.libloading]
version = "0.8"

[dependencies.once_cell]
version = "1"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "blocking",
    "native-tls",
]

[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.weft-package-sdk]
version = "0.1.0"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.toml]
version = "0.8"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_System_JobObjects",
    "Win32_System_Threading",
]