ayrat555 / frankenstein

Telegram bot API client for Rust
Do What The F*ck You Want To Public License
268 stars 28 forks source link

rename impl feature to http-client #30

Closed EdJoPaTo closed 3 years ago

EdJoPaTo commented 3 years ago

closes #29

This also specifies that certain examples require the http-client feature.

As the api_trait_implementation example only requires serde_json it is added as a dev-dependency.

Versions specified in Cargo.toml are using semver to install the latest. Specifying 2.3 will install 2.6 which is counterintuitive. Removing the minor version is more expressive about what is happening. (Also the Cargo.toml is sorted by alphabet)

This is a breaking change but probably not worth its own release as default-features = false still works the same.