Skip to content

Commit b56a217

Browse files
Update README
Signed-off-by: FedericoBruzzone <[email protected]>
1 parent 7a2a98e commit b56a217

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,4 @@ Mantainers:
151151
- [grammers](https://github.com/Lonami/grammers): the `tdlib-tl-gen` and `tdlib-tl-parser` projects are forks of the `grammers-tl-gen` and `grammers-tl-parser` projects.
152152
- [rust-tdlib](https://github.com/aCLr/rust-tdlib): for inspiration about some client code.
153153
- [tdlib-rs](https://github.com/paper-plane-developers/tdlib-rs): for inspiration about the generator code.
154+

tdlib-rs/src/build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
77
#[allow(dead_code)]
88
#[cfg(not(any(feature = "docs", feature = "pkg-config")))]
9-
// The version of the TDLib library.
109
const TDLIB_VERSION: &str = "1.8.29";
1110
#[cfg(feature = "download-tdlib")]
1211
const TDLIB_CARGO_PKG_VERSION: &str = "1.0.5";
@@ -136,6 +135,7 @@ fn download_tdlib() {
136135
/// - `cargo:rustc-link-lib=dylib=tdjson`
137136
/// - `cargo:rustc-link-arg=-Wl,-rpath,.../tdlib/lib`
138137
/// - `cargo:rustc-link-search=native=.../tdlib/bin` (only for Windows x86_64)
138+
///
139139
/// The `...` represents the `dest_path` or the `OUT_DIR` environment variable.
140140
/// If the tdlib library is not found at the specified path, the function will panic.
141141
/// The function will panic if the tdlib library is not found at the specified path.
@@ -391,6 +391,7 @@ pub fn build_download_tdlib(dest_path: Option<String>) {
391391
/// - `cargo:rustc-link-lib=dylib=tdjson`
392392
/// - `cargo:rustc-link-arg=-Wl,-rpath,.../tdlib/lib`
393393
/// - `cargo:rustc-link-search=native=.../tdlib/bin` (only for Windows x86_64)
394+
///
394395
/// The `...` represents the `LOCAL_TDLIB_PATH` environment variable.
395396
/// If the `LOCAL_TDLIB_PATH` environment variable is not set, the function will panic.
396397
///

0 commit comments

Comments
 (0)