[package]
edition = "2021"
name = "perdix"
version = "0.1.1"
authors = ["Robert Pratt"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "perdix"
description = "High-performance GPU-accelerated ring buffer for AI terminal multiplexing"
readme = "README.md"
keywords = [
"gpu",
"cuda",
"webgpu",
"ring-buffer",
"terminal",
]
categories = [
"concurrency",
"asynchronous",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/the-muppet/perdix"
[features]
cuda = ["cust"]
default = ["webgpu"]
webgpu = [
"wgpu",
"pollster",
]
[lib]
name = "perdix"
path = "src/lib.rs"
[[bin]]
name = "gpu_pty"
path = "src/bin/gpu_pty.rs"
[[bin]]
name = "gpu_test"
path = "src/bin/gpu_test.rs"
[[bin]]
name = "perdix"
path = "src/main.rs"
[[bin]]
name = "test_unified"
path = "src/bin/test_unified.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "gpu_streaming"
path = "examples/gpu_streaming.rs"
[[example]]
name = "pty_integration"
path = "examples/pty_integration.rs"
[[bench]]
name = "gpu_vs_cpu"
path = "benches/gpu_vs_cpu.rs"
harness = false
required-features = ["cuda"]
[[bench]]
name = "latency"
path = "benches/latency.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.bytemuck]
version = "1.15"
[dependencies.cust]
version = "0.3.2"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.pollster]
version = "0.4"
optional = true
[dependencies.portable-pty]
version = "0.9.0"
[dependencies.wgpu]
version = "26.0"
optional = true
[dependencies.zerocopy]
version = "0.8.27"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[build-dependencies.cc]
version = "1"