xtap-core-lib 0.5.1

星TAP实验室通用 Rust 基座:跨平台路径/IO/硬件/MCP HTTP 服务/egui 主题与字体(features 按需裁剪)
Documentation
[package]
name = "xtap-core-lib"
version = "0.5.1"
edition = "2021"
rust-version = "1.75"
authors = ["星TAP实验室 <cscb603@qq.com>"]
description = "星TAP实验室通用 Rust 基座:跨平台路径/IO/硬件/MCP HTTP 服务/egui 主题与字体(features 按需裁剪)"
license = "MIT"
documentation = "https://docs.rs/xtap-core-lib"
repository = "https://github.com/cscb603/xTap-core-lib"
homepage = "https://github.com/cscb603/xTap-core-lib"
keywords = ["mcp", "egui", "cross-platform", "base", "utility"]
categories = ["development-tools", "gui"]

[features]
default = ["process", "path", "io", "hardware", "ui"]
process = ["dep:sysinfo"]
path = ["dep:dirs"]
io = []
async = ["dep:tokio", "io"]
mmap = ["dep:memmap2", "io"]
hardware = ["dep:num_cpus", "dep:rayon"]
gpu = ["dep:wgpu"]
self_check = []
ui = ["dep:egui", "dep:eframe", "dep:image"]
mcp = ["dep:axum", "dep:tokio", "dep:serde_json"]
gui = []

[dependencies]
anyhow = "1.0"
thiserror = "2.0"
tracing = "0.1"
tracing-subscriber = "0.3"
chrono = "0.4"
serde = { version = "1.0", features = ["derive"] }
axum = { version = "0.7", optional = true }
serde_json = { version = "1.0", optional = true }
sysinfo = { version = "0.32", optional = true }
dirs = { version = "6.0", optional = true }
num_cpus = { version = "1.16", optional = true }
rayon = { version = "1.10", optional = true }
tokio = { version = "1.0", optional = true, features = ["rt-multi-thread", "macros", "net", "fs", "io-util"] }
memmap2 = { version = "0.9", optional = true }
wgpu = { version = "24.0", optional = true }
egui = { version = "0.34", optional = true }
eframe = { version = "0.34", optional = true }
image = { version = "0.25", optional = true, default-features = false, features = ["jpeg", "png"] }

[target.'cfg(windows)'.dependencies]
windows = { version = "0.60", features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_System_Threading",
] }

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

[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"

[package.metadata.docs.rs]
all-features = true