teloxide/examples/heroku_ping_pong_bot
Hirrolot 8522759e68
Get ready for v0.4.0 (#347)
* Get ready for v0.4.0

* Export teloxide_macros as macros in lib.rs

* Use tokio v1.3 in README.md

* Return the feature 'macros' back

* Export teloxide_macros::teloxide in the prelude

* Document the 'macros' feature in README.md

* Update src/lib.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Update src/prelude.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Propagate features from teloxide-core

* teloxide-core = 0.2.1

* Fix CI

* Require teloxide-core/auto_send instead of teloxide/auto-send

* default-features = false (teloxide-core)

* Specify each teloxide-core feature separately

* Fix Cargo.toml

* JSON -> Json, CBOR -> Cbor

* Update Cargo.toml

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 18:34:23 +06:00
..
src Apply review suggestions 2021-03-15 09:22:32 +06:00
Cargo.toml Get ready for v0.4.0 (#347) 2021-03-21 18:34:23 +06:00
Procfile Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00
README.md Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00

Heroku example

This is an example project on how to deploy webhook_ping_pong_bot to heroku.

You will need to configure the buildpack for heroku. We will be using Heroku rust buildpack. Configuration was done by using heroku CLI.

If you're creating a new Heroku application, run this command inside example

heroku create --buildpack emk/rust

To set buildpack for existing applicaton:

heroku buildpacks:set emk/rust