[package]
edition = "2021"
name = "bifp-core"
version = "0.1.0"
authors = ["RFI-IRFOS <rfi.irfos@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bidirectional Instant Feedback Protocol (BIFP) — native ternary flag/consensus/teach-then-handoff primitives, with real (non-tag-encoded) trit persistence."
homepage = "https://github.com/rfi-irfos/bifp"
readme = "README.md"
keywords = [
"ternary",
"feedback",
"protocol",
"consensus",
"hitl",
]
categories = [
"algorithms",
"data-structures",
]
license = "MIT"
repository = "https://github.com/rfi-irfos/bifp"
[features]
mcp = [
"dep:rmcp",
"dep:tokio",
"dep:anyhow",
"dep:schemars",
]
[lib]
name = "bifp_core"
path = "src/lib.rs"
[[bin]]
name = "bifp-mcp-server"
path = "src/bin/bifp_mcp_server.rs"
required-features = ["mcp"]
[dependencies.anyhow]
version = "1.0.103"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["clock"]
[dependencies.rmcp]
version = "2.1"
features = [
"server",
"transport-io",
"macros",
]
optional = true
[dependencies.schemars]
version = "1.2.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"io-std",
]
optional = true
[dev-dependencies.tempfile]
version = "3"