ayrat555 / frankenstein

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

fix stack overflows when deserializing with serde #68

Closed ayrat555 closed 2 years ago

ayrat555 commented 2 years ago

see

-https://github.com/dtolnay/serde-stacker -https://docs.rs/serde_json/latest/serde_json/struct.Deserializer.html#method.disable_recursion_limit

fixes https://github.com/ayrat555/frankenstein/issues/67

ayrat555 commented 2 years ago

I think a better solution for the same problem is implemented in https://github.com/ayrat555/frankenstein/pull/69

ayrat555 commented 2 years ago

closed in favour of https://github.com/ayrat555/frankenstein/pull/69