llmp 0.1.0

Measures how well a local LLM setup uses its model: a recording proxy and a prompt-reuse analysis
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 = "2024"
name = "llmp"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Measures how well a local LLM setup uses its model: a recording proxy and a prompt-reuse analysis"
readme = "README.md"
keywords = [
    "llm",
    "local-ai",
    "prompt-cache",
    "proxy",
    "llama-cpp",
]
categories = [
    "command-line-utilities",
    "development-tools::profiling",
]
license = "MIT"
repository = "https://github.com/rssndr/llmp"

[features]
cli = ["net"]
default = ["cli"]
net = [
    "dep:tokio",
    "dep:hyper",
    "dep:hyper-util",
    "dep:http-body-util",
    "dep:bytes",
]

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

[[bin]]
name = "llmp"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "analyze"
path = "tests/analyze.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "jsonl_roundtrip"
path = "tests/jsonl_roundtrip.rs"

[[test]]
name = "proxy"
path = "tests/proxy.rs"

[[test]]
name = "tokenize"
path = "tests/tokenize.rs"

[dependencies.bytes]
version = "1"
optional = true

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

[dependencies.hyper]
version = "1"
features = [
    "http1",
    "server",
    "client",
]
optional = true

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
optional = true

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

[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "sync",
    "time",
    "macros",
    "io-util",
    "signal",
]
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "net",
    "sync",
    "time",
    "macros",
    "io-util",
]