[package]
edition = "2024"
rust-version = "1.91"
name = "modelpipe"
version = "0.5.0"
authors = ["mmogr"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reach an OpenAI-compatible model server from anywhere over p2p — no VPN, no account, no cloud in the path"
readme = "README.md"
keywords = [
"p2p",
"iroh",
"llm",
"openai",
"proxy",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/mmogr/modelpipe"
[package.metadata.docs.rs]
all-features = true
[features]
serde = ["dep:serde"]
[lib]
name = "modelpipe"
path = "src/lib.rs"
[[test]]
name = "api_surface"
path = "tests/api_surface.rs"
[[test]]
name = "integration_pipe"
path = "tests/integration_pipe.rs"
[dependencies.getrandom]
version = "0.4"
[dependencies.httparse]
version = "1"
[dependencies.iroh]
version = "1"
features = ["metrics"]
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false
[dependencies.subtle]
version = "2"
default-features = false
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"rt",
"sync",
"time",
]
default-features = false
[dependencies.tracing]
version = "0.1"
features = [
"std",
"attributes",
]
default-features = false
[dependencies.url]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-util",
"test-util",
]
default-features = false
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"std",
"fmt",
]
default-features = false
[lints.clippy]
collapsible_if = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "deny"