[package]
edition = "2021"
name = "m4a-product-example"
version = "0.4.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A complete, minimal product server on m4a-product-kit: its own SQLite users, register/login/nick/logout, optional login doors, and the signing proxy to the messenger edge. Meant to be run as is or replaced piece by piece by a real product."
readme = "README.md"
keywords = [
"matrix",
"messenger",
"product-server",
"example",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/ZENG3LD/mail4agent"
[features]
default = ["matrix-address-door"]
matrix-address-door = ["m4a-product-kit/matrix-address-door"]
[lib]
name = "m4a_product_example"
path = "src/lib.rs"
[[bin]]
name = "m4a-product-example"
path = "src/main.rs"
[[test]]
name = "agent_backend"
path = "tests/agent_backend.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "shell_identity"
path = "tests/shell_identity.rs"
[dependencies.argon2]
version = "0.5"
[dependencies.axum]
version = "0.8"
features = ["json"]
[dependencies.hex]
version = "0.4"
[dependencies.m4a-product-kit]
version = "=0.4.14"
[dependencies.m4a-seam]
version = "=0.4.14"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tesserax-store]
version = "0.1.2"
features = ["cipher-native"]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"signal",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.m4a-agent]
version = "=0.4.14"
features = ["full"]
default-features = false
[dev-dependencies.m4a-edge]
version = "=0.4.14"
[dev-dependencies.mail4agent-messenger]
version = "=0.4.14"
[dev-dependencies.mail4agent-messenger-shell]
version = "=0.4.14"
[dev-dependencies.mail4agent-server]
version = "=0.4.14"
features = [
"f3-hash-ids",
"presence",
"media-federation",
"media-thumbnails",
]
default-features = false
[dev-dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"json",
"blocking",
]
default-features = false
[dev-dependencies.tokio-tungstenite]
version = "0.29"