Compare commits

..

1 Commits

Author SHA1 Message Date
6237b9421d Switch to a non-functional Rust skeleton 2021-04-10 12:12:48 +01:00
3 changed files with 5 additions and 2 deletions

3
Cargo.lock generated
View File

@@ -2441,9 +2441,10 @@ dependencies = [
[[package]]
name = "purple-sys"
version = "0.0.5"
source = "git+https://github.com/lupine/libpurple-rust?branch=master#f30adb1703e686e6f355ace9c2084b4d86f7b34c"
source = "git+https://github.com/lupine/libpurple-rust?branch=with-flared#517054727b28079e67c66136be410eefbd637467"
dependencies = [
"bindgen",
"glib-sys",
"libc",
"pkg-config",
]

View File

@@ -11,7 +11,7 @@ crate-type = ["dylib"]
[dependencies]
libc = "*"
glib-sys = "*"
purple-sys = { git = "https://github.com/lupine/libpurple-rust", branch="master" }
purple-sys = { git = "https://github.com/lupine/libpurple-rust", branch="with-flared" }
deltachat = { git = "https://github.com/deltachat/deltachat-core-rust", tag="v1.51.0" }
lazy_static = "1.4.0"

View File

@@ -27,6 +27,8 @@ use purple_sys::PurpleStatusPrimitive;
//use server::ACCOUNT;
//use server::{send_im, send_chat, find_blist_chat, find_chat_token};
use glib_sys::{GHashTable, GList};
const TRUE: i32 = 1;
const FALSE: i32 = 0;