# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "mailrs-jmap"
version = "1.0.0"
authors = ["GOLIA K.K."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JMAP (RFC 8620 + RFC 8621) server-side dispatcher and method handlers — framework-agnostic, BYO mail store via the MailStore trait."
homepage = "https://github.com/goliajp/mailrs"
documentation = "https://docs.rs/mailrs-jmap"
readme = "README.md"
keywords = [
    "jmap",
    "email",
    "rfc8620",
    "rfc8621",
    "mail-server",
]
categories = [
    "email",
    "network-programming",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/goliajp/mailrs"
resolver = "2"

[lib]
name = "mailrs_jmap"
path = "src/lib.rs"

[[bench]]
name = "jmap"
path = "benches/jmap.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dev-dependencies.criterion]
version = "0.7"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[lints.clippy.all]
level = "deny"
priority = 0

[lints.rust]
warnings = "deny"
