Add deltachat-core-rust to the build

This commit is contained in:
2020-05-10 01:01:28 +01:00
parent ffb190385e
commit 6e3ad7383f
3 changed files with 3100 additions and 2 deletions

3071
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,9 +3,11 @@ name = "telepathy-padfoot"
version = "0.1.0"
authors = ["Nick Thomas <me@ur.gs>"]
edition = "2018"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
dbus = "0.8.2"
deltachat = { git = "https://github.com/deltachat/deltachat-core-rust", tag="1.31.0" }

View File

@@ -14,6 +14,30 @@ Telepathy clients to send/receive Delta messages.
Telepathy CMs should have a name that is not the same as their protocol; so this
CM is hereby named "padfoot".
My first attempt was [purple-plugin-delta](https://code.ur.gs/lupine/purple-plugin-delta). This has some licensing issues (linking libpurple with OpenSSL)
that will be resolved with OpenSSL v3.0.0. At least until then, I've lost
interest in it; my efforts are going into this version instead.
## When
When it's ready.
## Where
Here's where we're at right now:
- [x] Connect to DBUS
- [x] Advertise enough properties / interfaces to become visible in Empathy
- [~] Connect to deltachat-core-rust
- [ ] Set up an account via autoconfiguration
- [ ] Set up an account manually
- [ ] Text messages
- [ ] Multimedia messages
- [ ] Setup messages
- [ ] Import/Export
- [ ] Group chats
- [ ] Geolocation messages
## Why
Mobile IM, mostly. Desktop IM, also. It's ideal for my pinephone, and lighter
@@ -21,8 +45,9 @@ than the electron desktop client.
## How
This project is written in Rust, just like the main Delta library, so you'll
need a rust compiler to build it.
This project is written in Rust, so you'll need a rust compiler to build it.
[Rustup]() comes highly recommended. Deltachat is also written in Rust and it
needs the `nightly` version, so follow the instructions for that.
It makes use of the `dbus-codegen-rust` crate to convert the
[telepathy interface specs](https://github.com/TelepathyIM/telepathy-spec) into