Two related changes:
1. Author email update across the kit
- All `info@greendragon.info` references replaced with `parfionovich@keilab.io`
- Touched: NOTICE, README.md, _ts_packages/package.json (and 5 adapter packages),
plus 90+ Cargo.toml files
- Apache-2.0 attribution unchanged (Denis Parfionovich, 2026)
2. Cargo workspace.package SSoT for author/license/repository/homepage
- Added to [workspace.package]:
authors = ["Denis Parfionovich <parfionovich@keilab.io>"]
license = "Apache-2.0"
repository = "https://github.com/KeiSei84/KeiSeiKit-1.0"
homepage = "https://github.com/KeiSei84/KeiSeiKit-1.0"
- All ~89 member crates migrated from inline declarations to:
authors.workspace = true
license.workspace = true
(repository/homepage where applicable)
- Closes audit gap: kei-graph-stream, kei-cortex, kei-shared previously had no
license field at the crate level, blocking `cargo publish` on those.
Now they inherit Apache-2.0 from workspace.
- kei-scheduler/Cargo.toml: removed stray duplicate `authors` line introduced
by an earlier migration sweep.
cargo check --workspace: clean. No code changes; metadata-only migration.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
57 lines
2.4 KiB
TOML
57 lines
2.4 KiB
TOML
[package]
|
|
name = "kei-gateway"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
description = "P4.1 — Unified messaging gateway: platform adapters, sessions, agent cache, delivery router."
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
|
|
# Feature flags
|
|
# default — pulls in the always-on CLI adapter
|
|
# telegram — teloxide-based Telegram adapter (STUB scaffolded, full impl P4.1.b)
|
|
# discord — serenity-based Discord adapter (STUB scaffolded, full impl P4.1.b)
|
|
# slack — slack-morphism-based Slack adapter (STUB scaffolded, full impl P4.1.b)
|
|
# cli — stdin/stdout adapter (only adapter actually wired in MVP)
|
|
# all-platforms — convenience to enable every adapter together
|
|
#
|
|
# MVP (this crate landing) ships ONLY `cli` working. tg/discord/slack are
|
|
# feature-gated stubs with todo!() bodies. They compile under their feature
|
|
# flag but panic at runtime — full implementations land in P4.1.b.
|
|
|
|
[features]
|
|
default = ["cli"]
|
|
cli = []
|
|
telegram = ["dep:teloxide", "dep:futures"]
|
|
discord = ["dep:serenity", "dep:futures"]
|
|
slack = ["dep:slack-morphism", "dep:futures", "dep:tokio-tungstenite"]
|
|
all-platforms = ["telegram", "discord", "slack", "cli"]
|
|
|
|
[lib]
|
|
name = "kei_gateway"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, features = ["io-std"] }
|
|
async-trait = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
thiserror = { workspace = true }
|
|
lru = { workspace = true }
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "macros", "chrono"] }
|
|
blake3 = "1"
|
|
dashmap = { workspace = true }
|
|
# Optional — only pulled when the `telegram` feature is enabled.
|
|
teloxide = { version = "0.13", default-features = false, features = ["rustls", "ctrlc_handler"], optional = true }
|
|
futures = { workspace = true, optional = true }
|
|
# Optional — only pulled when the `discord` feature is enabled.
|
|
serenity = { version = "0.12", default-features = false, features = ["client", "gateway", "rustls_backend", "model"], optional = true }
|
|
# Optional — only pulled when the `slack` feature is enabled.
|
|
slack-morphism = { version = "2", default-features = false, features = ["hyper"], optional = true }
|
|
tokio-tungstenite = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|