You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`rtdlib` is [TDLib](https://github.com/tdlib/td) for rust.
7
+
`rtdlib` is [td](https://github.com/tdlib/td) for rust.
8
8
9
-
`rtdlib` crate have [TDLib](https://github.com/tdlib/td) type (classes). and `tdjson`[binding](./src/tdjson.rs). not have client api. if use `rtdlib` you need include `libtdjson.so` to you build path.
9
+
`rtdlib` crate have [td](https://github.com/tdlib/td) type (classes). and `tdjson`[binding](../fantasy/template/rtdlib/src/tdjson.rs). if use `rtdlib` you need include `libtdjson.so` to you build path.
10
10
11
11
12
+
# Note
12
13
13
-
# Build
14
+
This crate code is generate by [fantasy](https://github.com/fewensa/fantasy).
14
15
15
-
`rtdlib` include a prebuilt td types, you can check [types](./src/types). The version of `>0.3.0` not provide build code before run this crate, last support version is [0.2.1](https://github.com/fewensa/rtdlib/releases/tag/0.2.1), if want generate types from [telegram official document](https://core.telegram.org/tdlib/docs/td__api_8h.html) you can check [generate](./generate) project.
16
16
17
-
When build from official document, rtdlib will generate a td [schema](./schema/schema.toml) file, but this file not include in cargo package, if you need use this file, you need check [schema.toml](./schema/schema.toml).
18
-
19
-
**BUILD TYPE.RS IS SLOWLY.**
17
+
# Usage
20
18
21
-
**Notice**
19
+
## latest
22
20
23
-
`rtdlib` build td type, use telegram official document, https://core.telegram.org/tdlib/docs/td__api_8h.html .
21
+
```toml
22
+
[dependencies]
23
+
rtdlib = "100.100"
24
+
```
24
25
25
-
So there is a possibility of compilation failure.
26
+
## 1.3.*
26
27
27
-
It depends on whether the document has changed.
28
+
```toml
29
+
[dependencies]
30
+
rtdlib = "1.3"
31
+
```
28
32
29
-
When rtdlib is stable, the use of code generation is not recommended.
30
-
31
-
# Usage
33
+
## 1.4.*
32
34
33
35
```toml
34
36
[dependencies]
35
-
rtdlib = "0.3"
37
+
rtdlib = "1.4"
36
38
```
37
39
40
+
## version
41
+
42
+
Since the rtdlib version follows [td](https://github.com/tdlib/td), a version number less than 100 is reserved for td release.
0 commit comments