mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 14:06:29 +03:00
* Add utility to convert OsStr to CString This is approach seems acceptable in the context of deltachat, it should work correctly on unix and on Windows requires paths to be valid utf-8. * Use failure crate for error types * Add OsStrExt impl for Path, fix windows and update docs - Adds an OsStrExt impl for Path directly, a little more convenience. - Fix the windows code to actually use the right function name. Test the impl function on unix too since that was the point of having it implemented in a separate function to begin with. - Improve the docs, do hyperlinks a bit better. * Another attempt at learing to type Having your compiler in the cloud is just painful. * Do not treat this as a fatal error When PRs are made from forks the passwords are unavailable. We don't want CI to fail because of this. * Implement using the AsRef<OsStr> trait This means any type with implements this trait will get this implementation, thus covering both OsStr and Path instead of having duplicate implementations for those like before. * fix format
60 lines
1.1 KiB
TOML
60 lines
1.1 KiB
TOML
[package]
|
|
name = "deltachat"
|
|
version = "1.0.0-alpha.0"
|
|
authors = ["dignifiedquire <dignifiedquire@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.35"
|
|
pkg-config = "0.3"
|
|
|
|
[dependencies]
|
|
libc = "0.2.51"
|
|
pgp = "0.2"
|
|
hex = "0.3.2"
|
|
sha2 = "0.8.0"
|
|
rand = "0.6.5"
|
|
smallvec = "0.6.9"
|
|
libsqlite3-sys = { version = "0.14.0", features = ["bundled", "min_sqlite_version_3_7_16"] }
|
|
reqwest = "0.9.15"
|
|
num-derive = "0.2.5"
|
|
num-traits = "0.2.6"
|
|
native-tls = "0.2.3"
|
|
lettre = "0.9.0"
|
|
imap = "1.0.1"
|
|
mmime = "0.1.0"
|
|
base64 = "0.10"
|
|
charset = "0.1"
|
|
percent-encoding = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
chrono = "0.4.6"
|
|
failure = "0.1.5"
|
|
failure_derive = "0.1.5"
|
|
# TODO: make optional
|
|
rustyline = "4.1.0"
|
|
lazy_static = "1.3.0"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0"
|
|
pretty_assertions = "0.6.1"
|
|
pretty_env_logger = "0.3.0"
|
|
|
|
[workspace]
|
|
members = [
|
|
"deltachat-ffi"
|
|
]
|
|
|
|
[[example]]
|
|
name = "simple"
|
|
|
|
[[example]]
|
|
name = "repl"
|
|
path = "examples/repl/main.rs"
|
|
|
|
|
|
[features]
|
|
default = ["nightly"]
|
|
vendored = ["native-tls/vendored", "reqwest/default-tls-vendored"]
|
|
nightly = ["pgp/nightly"]
|