[package]
edition = "2024"
rust-version = "1.91"
name = "jmap-server"
version = "0.6.2"
authors = ["Mark Atwood <mark@reviewcommit.com>"]
build = false
exclude = [
"AGENTS.md",
"CLAUDE.md",
"PLAN.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backend-agnostic JMAP server framework (RFC 8620): parsing, ResultReference resolution, and Dispatcher"
readme = "README.md"
keywords = [
"jmap",
"rfc8620",
"server",
"dispatcher",
]
categories = [
"network-programming",
"web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MarkAtwood/crate-jmap"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
scoped-state = ["tokio/sync"]
[lib]
name = "jmap_server"
path = "src/lib.rs"
[[example]]
name = "dispatcher_minimal"
path = "examples/dispatcher_minimal.rs"
[[test]]
name = "conditional"
path = "tests/conditional.rs"
[[test]]
name = "delegate_accounts"
path = "tests/delegate_accounts.rs"
[[test]]
name = "delegate_reads"
path = "tests/delegate_reads.rs"
[[test]]
name = "history"
path = "tests/history.rs"
[[test]]
name = "history_without_uri"
path = "tests/history_without_uri.rs"
[[test]]
name = "i18n_get"
path = "tests/i18n_get.rs"
[[test]]
name = "i18n_query"
path = "tests/i18n_query.rs"
[[test]]
name = "i18n_set"
path = "tests/i18n_set.rs"
[[test]]
name = "panic_log"
path = "tests/panic_log.rs"
[[test]]
name = "problem_details"
path = "tests/problem_details.rs"
[[test]]
name = "push_conditional"
path = "tests/push_conditional.rs"
[[test]]
name = "push_extension_seam"
path = "tests/push_extension_seam.rs"
[[test]]
name = "push_subscription_get"
path = "tests/push_subscription_get.rs"
[[test]]
name = "push_subscription_set"
path = "tests/push_subscription_set.rs"
[[bench]]
name = "dispatcher"
path = "benches/dispatcher.rs"
harness = false
[dependencies.http]
version = "1"
[dependencies.jmap-metadata-types]
version = "0.6"
[dependencies.jmap-object-history-types]
version = "0.6"
[dependencies.jmap-types]
version = "0.6"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.subtle]
version = "2.6"
[dependencies.tokio]
version = "1"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["fmt"]
default-features = false