[package]
edition = "2024"
name = "secretspec-ipc"
version = "0.21.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Independent Rust implementation of the SecretSpec IPC protocols"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/cachix/secretspec"
resolver = "2"
[features]
blocking = []
default = ["tokio"]
tokio = [
"dep:async-trait",
"dep:tokio",
"dep:tokio-util",
]
[lib]
name = "secretspec_ipc"
path = "src/lib.rs"
[[example]]
name = "ssh_resolver"
path = "examples/ssh_resolver.rs"
required-features = ["tokio"]
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "provider_session"
path = "tests/provider_session.rs"
[[test]]
name = "resolver_connection"
path = "tests/resolver_connection.rs"
[[test]]
name = "session"
path = "tests/session.rs"
[[test]]
name = "session_ordering"
path = "tests/session_ordering.rs"
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"io-util",
"macros",
"process",
"sync",
"time",
]
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
optional = true
[dependencies.zeroize]
version = "1.8"
features = ["alloc"]
default-features = false
[dev-dependencies.jsonschema]
version = "0.48.5"
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"io-util",
"macros",
"process",
"sync",
"time",
]