Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: FedericoBruzzone <[email protected]>
  • Loading branch information
FedericoBruzzone committed May 26, 2024
1 parent 57ce057 commit c9849cd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD

on:
push:
tags:
tags:
# - "v[0-9]+.[0-9]+.[0-9]+"
- "*"

Expand All @@ -23,4 +23,9 @@ jobs:
run: find * -maxdepth 0 -type d -execdir mv '{}' tdlib \; -execdir zip -r -m -6 '{}.zip' 'tdlib' \;
- name: Create release
run: gh release create ${{ github.ref_name }} -R $REPO --generate-notes ./*.zip
# cargo publish
- name: Publish to crates.io
run:
cargo login ${{ secrets.CRATES_IO_TOKEN }}
cargo publish --package tdlib-rs-gen --manifest-path tdlib-rs-gen/Cargo.toml
cargo publish --package tdlib-rs-parser --manifest-path tdlib-rs-parser/Cargo.toml
cargo publish --package tdlib-rs --manifest-path tdlib-rs/Cargo.toml
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ 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 should work on Windows, Linux and MacOS.
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.

## Information

Expand Down
1 change: 0 additions & 1 deletion tdlib-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ repository = "https://github.com/FedericoBruzzone/tdlib-rs"
documentation = "https://docs.rs/tdlib-rs"
keywords = ["telegram", "tdlib", "tdjson", "tdlib-rs", "telegram-api"]
description = "Rust wrapper around the Telegram Database Library."
readme = "../README.md"

[package.metadata.docs.rs]
features = ["docs", "bots-only-api"]
Expand Down
1 change: 1 addition & 0 deletions tdlib-rs/README.md

0 comments on commit c9849cd

Please sign in to comment.