[package] name = "deltachat" version = "1.53.0" authors = ["Delta Chat Developers (ML) "] edition = "2018" license = "MPL-2.0" [profile.dev] debug = 0 [profile.release] lto = true [dependencies] deltachat_derive = { path = "./deltachat_derive" } ansi_term = { version = "0.12.1", optional = true } anyhow = "1.0.40" async-imap = "0.5.0" async-native-tls = { version = "0.3.3" } async-smtp = { git = "https://github.com/async-email/async-smtp", rev="2275fd8d13e39b2c58d6605c786ff06ff9e05708" } async-std-resolver = "0.20.2" async-std = { version = "~1.9.0", features = ["unstable"] } async-tar = "0.3.0" async-trait = "0.1.50" backtrace = "0.3.58" base64 = "0.13" bitflags = "1.1.0" byteorder = "1.3.1" charset = "0.1" chrono = "0.4.6" dirs = { version = "3.0.1", optional=true } email = { git = "https://github.com/deltachat/rust-email", branch = "master" } encoded-words = { git = "https://github.com/async-email/encoded-words", branch="master" } escaper = "0.1.0" futures = "0.3.14" hex = "0.4.0" image = { version = "0.23.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] } indexmap = "1.3.0" itertools = "0.10.0" kamadak-exif = "0.5" lettre_email = { git = "https://github.com/deltachat/lettre", branch = "master" } libc = "0.2.51" log = {version = "0.4.8", optional = true } mailparse = "0.13.0" native-tls = "0.2.3" num_cpus = "1.13.0" num-derive = "0.3.0" num-traits = "0.2.6" once_cell = "1.4.1" percent-encoding = "2.0" pgp = { version = "0.7.0", default-features = false } pretty_env_logger = { version = "0.4.0", optional = true } quick-xml = "0.22.0" r2d2 = "0.8.9" r2d2_sqlite = "0.18.0" rand = "0.7.0" regex = "1.1.6" rusqlite = "0.25" rust-hsluv = "0.1.4" rustyline = { version = "4.1.0", optional = true } sanitize-filename = "0.3.0" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } sha-1 = "0.9.3" sha2 = "0.9.0" smallvec = "1.0.0" stop-token = "0.2.0" strum = "0.20.0" strum_macros = "0.20.1" surf = { version = "2.0.0-alpha.4", default-features = false, features = ["h1-client"] } thiserror = "1.0.14" toml = "0.5.6" url = "2.1.1" uuid = { version = "0.8", features = ["serde", "v4"] } [dev-dependencies] ansi_term = "0.12.0" async-std = { version = "1.9.0", features = ["unstable", "attributes"] } criterion = "0.3" futures-lite = "1.7.0" log = "0.4.11" pretty_assertions = "0.7.2" pretty_env_logger = "0.4.0" proptest = "1.0" tempfile = "3.0" [workspace] members = [ "deltachat-ffi", "deltachat_derive", ] [[example]] name = "simple" path = "examples/simple.rs" required-features = ["repl"] [[example]] name = "repl" path = "examples/repl/main.rs" required-features = ["repl"] [[bench]] name = "create_account" harness = false [[bench]] name = "contacts" harness = false [[bench]] name = "search_msgs" harness = false [features] default = ["bundled-sqlite"] internals = [] repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"] vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored"] nightly = ["pgp/nightly"] bundled-sqlite = ["rusqlite/bundled"]