[package]
edition = "2021"
name = "inspire"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "InsPIRe: Communication-Efficient PIR with Server-side Preprocessing"
homepage = "https://github.com/igor53627/inspire-rs"
documentation = "https://docs.rs/inspire"
readme = "README.md"
keywords = [
"pir",
"homomorphic",
"cryptography",
"inspire",
]
categories = [
"cryptography",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/igor53627/inspire-rs"
[features]
cli = [
"clap",
"eyre",
"tracing-subscriber",
"indicatif",
]
default = [
"server",
"cli",
"zstd",
]
server = [
"axum",
"tokio",
"memmap2",
"reqwest",
]
[lib]
name = "inspire"
path = "src/lib.rs"
[[bin]]
name = "inspire-client"
path = "src/bin/client.rs"
required-features = ["cli"]
[[bin]]
name = "inspire-server"
path = "src/bin/server.rs"
required-features = [
"server",
"cli",
]
[[bin]]
name = "inspire-setup"
path = "src/bin/setup.rs"
required-features = [
"server",
"cli",
]
[[example]]
name = "benchmark_seed_expansion"
path = "examples/benchmark_seed_expansion.rs"
[[example]]
name = "benchmark_variants"
path = "examples/benchmark_variants.rs"
[[example]]
name = "cost_attribution"
path = "examples/cost_attribution.rs"
[[example]]
name = "generate_test_data"
path = "examples/generate_test_data.rs"
[[example]]
name = "query_sepolia"
path = "examples/query_sepolia.rs"
[[example]]
name = "query_size_comparison"
path = "examples/query_size_comparison.rs"
[[test]]
name = "api_contract"
path = "tests/api_contract.rs"
[[test]]
name = "e2e_pir"
path = "tests/e2e_pir.rs"
[[test]]
name = "ethereum_format"
path = "tests/ethereum_format.rs"
[[test]]
name = "http_inspiring"
path = "tests/http_inspiring.rs"
[[bench]]
name = "ntt"
path = "benches/ntt.rs"
harness = false
[[bench]]
name = "packing"
path = "benches/packing.rs"
harness = false
[[bench]]
name = "query_size_latency"
path = "benches/query_size_latency.rs"
harness = false
[[bench]]
name = "respond"
path = "benches/respond.rs"
harness = false
[dependencies.axum]
version = "0.7"
optional = true
[dependencies.bincode]
version = "1.3"
[dependencies.byteorder]
version = "1.5"
[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true
[dependencies.eyre]
version = "0.6"
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.indicatif]
version = "0.17"
optional = true
[dependencies.memmap2]
version = "0.9"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.rand_chacha]
version = "0.3"
[dependencies.rayon]
version = "1.10"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tiny-keccak]
version = "2.0"
features = ["keccak"]
[dependencies.tokio]
version = "1.36"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.zstd]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.10"