mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
This should make colors used by Delta Chat for emails similar to colors used by XMPP clients implementing the same specification[1], such as Conversations and Snikket. Previously Delta Chat used only hardcoded 16 colors, so this change should also increase the number of colors and make it easier to distinguish different contacts. [1] https://xmpp.org/extensions/xep-0392.html
116 lines
3.0 KiB
TOML
116 lines
3.0 KiB
TOML
[package]
|
|
name = "deltachat"
|
|
version = "1.51.0-alpha.0"
|
|
authors = ["Delta Chat Developers (ML) <delta@codespeak.net>"]
|
|
edition = "2018"
|
|
license = "MPL-2.0"
|
|
|
|
[profile.dev]
|
|
debug = 0
|
|
|
|
[profile.release]
|
|
lto = true
|
|
|
|
[dependencies]
|
|
deltachat_derive = { path = "./deltachat_derive" }
|
|
|
|
libc = "0.2.51"
|
|
pgp = { version = "0.7.0", default-features = false }
|
|
hex = "0.4.0"
|
|
sha-1 = "0.9.3"
|
|
sha2 = "0.9.0"
|
|
rand = "0.7.0"
|
|
smallvec = "1.0.0"
|
|
surf = { version = "2.0.0-alpha.4", default-features = false, features = ["h1-client"] }
|
|
num-derive = "0.3.0"
|
|
num-traits = "0.2.6"
|
|
async-smtp = { git = "https://github.com/async-email/async-smtp", rev="2275fd8d13e39b2c58d6605c786ff06ff9e05708" }
|
|
email = { git = "https://github.com/deltachat/rust-email", branch = "master" }
|
|
lettre_email = { git = "https://github.com/deltachat/lettre", branch = "master" }
|
|
async-imap = "0.4.0"
|
|
async-native-tls = { version = "0.3.3" }
|
|
async-std = { version = "~1.8.0", features = ["unstable"] }
|
|
base64 = "0.12"
|
|
charset = "0.1"
|
|
percent-encoding = "2.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
chrono = "0.4.6"
|
|
indexmap = "1.3.0"
|
|
kamadak-exif = "0.5"
|
|
once_cell = "1.4.1"
|
|
regex = "1.1.6"
|
|
rusqlite = { version = "0.24", features = ["bundled"] }
|
|
r2d2_sqlite = "0.17.0"
|
|
r2d2 = "0.8.5"
|
|
strum = "0.19.0"
|
|
strum_macros = "0.19.0"
|
|
backtrace = "0.3.33"
|
|
byteorder = "1.3.1"
|
|
itertools = "0.9.0"
|
|
quick-xml = "0.18.1"
|
|
escaper = "0.1.0"
|
|
bitflags = "1.1.0"
|
|
sanitize-filename = "0.3.0"
|
|
stop-token = { version = "0.1.1", features = ["unstable"] }
|
|
mailparse = "0.13.0"
|
|
encoded-words = { git = "https://github.com/async-email/encoded-words", branch="master" }
|
|
native-tls = "0.2.3"
|
|
image = { version = "0.23.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] }
|
|
futures = "0.3.4"
|
|
thiserror = "1.0.14"
|
|
anyhow = "1.0.28"
|
|
async-trait = "0.1.31"
|
|
url = "2.1.1"
|
|
async-std-resolver = "0.19.5"
|
|
async-tar = "0.3.0"
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
|
rust-hsluv = "0.1.4"
|
|
|
|
pretty_env_logger = { version = "0.4.0", optional = true }
|
|
log = {version = "0.4.8", optional = true }
|
|
rustyline = { version = "4.1.0", optional = true }
|
|
ansi_term = { version = "0.12.1", optional = true }
|
|
dirs = { version = "3.0.1", optional=true }
|
|
toml = "0.5.6"
|
|
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0"
|
|
pretty_assertions = "0.6.1"
|
|
pretty_env_logger = "0.4.0"
|
|
proptest = "0.10"
|
|
async-std = { version = "1.6.4", features = ["unstable", "attributes"] }
|
|
futures-lite = "1.7.0"
|
|
criterion = "0.3"
|
|
ansi_term = "0.12.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
|
|
|
|
[features]
|
|
default = []
|
|
internals = []
|
|
repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"]
|
|
vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored"]
|
|
nightly = ["pgp/nightly"]
|
|
|