From 7e41b162fb1a41d026814c7e4586aa6f6a627fbb Mon Sep 17 00:00:00 2001 From: syn Date: Fri, 8 Jan 2021 01:21:48 +0300 Subject: Initial commit --- Cargo.toml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..443f87c --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,31 @@ +[package] +name = "tdlib-rs" +version = "0.1.0" +authors = ["syn "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +libc = "0.2" +tdlib-sys = { version = "1.7.0", path = "../tdlib-sys" } +thiserror = "1.0" + +# TODO: the only thing we need from futures-rs is BoxFuture. +# maybe we shold define it ourselves and drop futures dependency +futures = "0.3" + +tokio = { version = "0.3", features = ["rt"] } + +# TODO: get rid of crossbeam and use std if possible +crossbeam = "0.8" + +serde = "1.0" +serde_json = "1.0" +serde_derive = "1.0" + +# TODO: make logging a feature +log = "0.4" + +[dev-dependencies] +tokio = { version = "0.3", features = ["rt", "rt-multi-thread", "macros"] } -- cgit v1.2.1-18-gbd029