crymap 1.0.1

A simple, secure IMAP server with encrypted data at rest
[package]
name = "crymap"
version = "1.0.1"
authors = ["Jason Lingle <jason@lin.gl>"]
license = "GPL-3.0"
edition = "2018"
readme = "README.md"
repository = "https://github.com/altsysrq/crymap"
homepage = "https://altsysrq.github.io/crymap/index.html"
keywords = ["imap", "lmtp"]
exclude = ["/gen-*.sh", "/readme-*.md", "book", "*.org"]
description = "A simple, secure IMAP server with encrypted data at rest"

[badges]
travis-ci = { repository = "AltSysrq/crymap" }

[dependencies]
base64 = "0.12"
bitflags = "1.2"
byteorder = "1.3"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "2.33", default-features = false }
crossbeam = "0.7"
encoding_rs = "0.8"
# Using the zlib backend and not miniz_oxide is a hard requirement currently
# because with miniz_oxide, it sometimes blocks for more data when a full frame
# is available. This is reproduceable by connecting thunderbird and doing a
# bulk copy from another IMAP server.
# TODO Investigate more so we can file a bug report with whichever repo is
# causing the problem here.
flate2 = { version = "1.0", default-features = false, features = ["zlib"] }
lazy_static = "1.4"
log = "0.4.8"
memchr = "2.3"
nix = "0.17"
nom = { version = "5.1", default-features = false, features = ["regexp", "std"] }
num_cpus = "1.13"
openssl = "0.10.45"
rand = "0.7"
regex = "1.3"
rpassword = "4.0"
rust-argon2 = "0.8"
secstr = "0.4.0"
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_cbor = "0.11"
serde_repr = "0.1"
structopt = { version = "0.3.15", default-features = false }
syslog = "5.0"
tempfile = "3.1"
thiserror = "1.0"
tiny-keccak = { version = "2.0", features = ["sha3", "kmac"] }
toml = "0.5"
zstd = "0.5"

[dependencies.log4rs]
version = "1.2.0"
default-features = false
features = [
  "console_appender",
  "file_appender",
  "rolling_file_appender",
  "compound_policy",
  "delete_roller",
  "fixed_window_roller",
  "size_trigger",
  "threshold_filter",
  "toml_format",
  "config_parsing",
]

[dev-dependencies]
proptest = "0.10"
rayon = "1.3"

# rust-argon2 and openssl can be quite slow without optimisations. We don't
# need to debug them, so optimise even in dev/test builds.
[profile.dev.package.rust-argon2]
opt-level = 3

[profile.dev.package.openssl]
opt-level = 3

[profile.release]
panic = "abort"

[features]
dev-tools = []