Skip to content

Commit

Permalink
Release v1.0.4
Browse files Browse the repository at this point in the history
Signed-off-by: FedericoBruzzone <federico.bruzzone.i@gmail.com>
  • Loading branch information
FedericoBruzzone committed Jun 24, 2024
1 parent 6af64d5 commit 2a874c4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ A Rust wrapper around the Telegram Database library. It includes a generator to

This is an improved version of the [tdlib-rs](https://github.com/paper-plane-developers/tdlib-rs) library, with the following additional features:


1. It is cross-platform, it works on Windows, Linux and MacOS.
2. Not required `pkg-config` to build the library and associated exported variables.
3. Not required `tdlib` to be compiled and installed on the system.
4. It is possible to download the `tdlib` library from the GitHub releases.
2. Not required `tdlib` to be compiled and installed on the system.
3. Not required `pkg-config` to build the library and associated exported variables.
2. Three different ways to build the library:
- `download-tdlib`: download the precompiled library from the GitHub releases.
- `local-tdlib`: use the `tdlib` installed on the system.
- `pkg-config`: use the `pkg-config` to build the library.
5. It is possible to download the `tdlib` library from the GitHub releases.

## Information

Expand Down
4 changes: 2 additions & 2 deletions tdlib-rs-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tdlib-rs-gen"
version = "1.0.3"
version = "1.0.4"
authors = [
"Federico Bruzzone <federico.bruzzone.i@gmail.com>",
"Andrea Longoni",
Expand All @@ -20,4 +20,4 @@ keywords = [
description = "Rust code generator from TDLib's API definitions."

[dependencies]
tdlib-rs-parser = { path = "../tdlib-rs-parser", version = "1.0.3" }
tdlib-rs-parser = { path = "../tdlib-rs-parser", version = "1.0.4" }
2 changes: 1 addition & 1 deletion tdlib-rs-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tdlib-rs-parser"
version = "1.0.3"
version = "1.0.4"
authors = [
"Federico Bruzzone <federico.bruzzone.i@gmail.com>",
"Andrea Longoni",
Expand Down
6 changes: 3 additions & 3 deletions tdlib-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tdlib-rs"
version = "1.0.3"
version = "1.0.4"
authors = [
"Federico Bruzzone <federico.bruzzone.i@gmail.com>",
"Andrea Longoni",
Expand Down Expand Up @@ -46,8 +46,8 @@ reqwest = { version = "0.12.4", features = ["blocking"], optional = true }
zip = { version = "2.0.0", optional = true }

[build-dependencies]
tdlib-rs-gen = { path = "../tdlib-rs-gen", version = "1.0.3" }
tdlib-rs-parser = { path = "../tdlib-rs-parser", version = "1.0.3" }
tdlib-rs-gen = { path = "../tdlib-rs-gen", version = "1.0.4" }
tdlib-rs-parser = { path = "../tdlib-rs-parser", version = "1.0.4" }
system-deps = { version = "6", optional = true }
reqwest = { version = "0.12.4", features = ["blocking"], optional = true }
zip = { version = "2.0.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion tdlib-rs/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// The version of the TDLib library.
const TDLIB_VERSION: &str = "1.8.29";
#[cfg(feature = "download-tdlib")]
const TDLIB_CARGO_PKG_VERSION: &str = "1.0.3";
const TDLIB_CARGO_PKG_VERSION: &str = "1.0.4";

// WARNING: This function is not used in the current version of the library.
// #[cfg(not(any(feature = "docs", feature = "pkg-config", feature = "download-tdlib")))]
Expand Down

0 comments on commit 2a874c4

Please sign in to comment.