Commit graph

311 commits

Author SHA1 Message Date
Mingwei Samuel
f43795c5a3 Release 2.0.0-rc.3 2021-09-20 11:21:08 -07:00
Mingwei Samuel
1a0ae872f5 Add RiotApi::new(impl Into<RiotApiConfig>), deprecate old constructors, update docs
- Adds `From<AsRef<[u8]>> for RiotApiConfig` for API keys for the above.
2021-09-19 11:22:59 -07:00
Mingwei Samuel
8f5d7327d1 Update srcgen folder link in README.md 2021-09-09 23:11:33 -07:00
Mingwei Samuel
c9465eee32 Release 2.0.0-rc.2 2021-09-09 23:08:50 -07:00
Mingwei Samuel
32e70437ab Update enum numeric values (fixes #29), update doc links, regen 2021-09-09 22:51:15 -07:00
Mingwei Samuel
394e6c72e2 Update readme bullets 2021-09-09 22:45:23 -07:00
Mingwei Samuel
f1a51693fa Update README.md doctest 2021-09-09 14:54:02 -07:00
Mingwei Samuel
74eb5fa045 Update example proxy for v2, use workspaces.
- `example/proxy` is new folder for `example_proxy`.
- `riven` is new folder for the main riven lib.
- Updated metadata to be an array and include HTTP method.
2021-09-09 14:31:39 -07:00
Mingwei Samuel
5c26ddd211 Release 2.0.0-rc.1 2021-09-06 18:50:54 -07:00
Mingwei Samuel
9dcbc626c7 Update: method limits to handle all non-application 429s 2021-09-06 18:49:22 -07:00
Mingwei Samuel
dafc181bbe Regen, release 2.0.0-beta.5 2021-09-02 21:22:16 -07:00
Mingwei Samuel
44320bdeeb Release 2.0.0-beta.4 2021-07-23 17:58:23 -07:00
Mingwei Samuel
e1bf531235 Add rate_usage_factor configurations 2021-07-23 17:57:41 -07:00
Mingwei Samuel
00e520b7af Use tracing as log when tracing enabled 2021-07-23 15:40:55 -07:00
Mingwei Samuel
8dbcca434d Cleanup tracing formatting, regen 2021-07-23 15:32:37 -07:00
Thijs Molendijk
7f3fa7f59e Regen 2021-07-04 11:44:09 -07:00
Thijs Molendijk
3c4f3c967a Optional tracing support 2021-07-04 11:43:44 -07:00
Thijs Molendijk
032d3ac97d Properly set up the reqwest tls features 2021-07-04 11:33:27 -07:00
Mingwei Samuel
f182191680 Only check stable for compilation in test.bash 2021-07-04 10:21:11 -07:00
Mingwei Samuel
75ab41aca2 Wake up requests when rate limits update 2021-07-04 10:21:11 -07:00
Mingwei Samuel
c10275831f Enable tokio parking_lot feature 2021-07-04 10:13:38 -07:00
Mingwei Samuel
56973ae26e Release 2.0.0-beta.3 2021-07-01 23:25:32 -07:00
Mingwei Samuel
27e694a61c Update test.bash to check stable compilation 2021-07-01 23:25:20 -07:00
Mingwei Samuel
23645a9319 Remove uncompilable feature(extended_key_value_attributes) 2021-07-01 23:22:36 -07:00
Mingwei Samuel
9c4679fb88 Update ALL_KNOWN newtype_enum doccomment, make is_known const 2021-06-30 20:31:40 -07:00
Mingwei Samuel
2cb8db61f5 Release 2.0.0-beta.2 2021-06-30 19:55:59 -07:00
Mingwei Samuel
a1bca52576 Replace removed external_doc attr 2021-06-30 19:55:59 -07:00
Mingwei Samuel
62e2001457 Convert Season from enum to newtype_enum 2021-06-30 19:48:49 -07:00
Mingwei Samuel
4b23f9afed Convert Season from enum into newtype_enum 2021-06-30 19:46:26 -07:00
Mingwei Samuel
35f826b198 Convert Queue from enum to newtype_enum 2021-06-30 19:44:24 -07:00
Mingwei Samuel
2d80f97170 Convert Map from enum into newtype_enum 2021-06-30 19:40:48 -07:00
Mingwei Samuel
88124ecb3a Add unknown variant to GameMode 2021-06-30 19:35:08 -07:00
Mingwei Samuel
5daeab990a Add macro to create newtype_enums 2021-06-30 18:50:08 -07:00
Mingwei Samuel
07348a5c53 Add array of all champions 2021-06-30 17:31:57 -07:00
Mingwei Samuel
6307a0aa13 Convert CRLF to LF 2021-06-30 16:40:35 -07:00
Mingwei Samuel
2989c4483e Convert Champion enum into newtype 2021-06-30 16:29:39 -07:00
Mingwei Samuel
569a5bbc1b Release 2.0.0-beta.1 2021-06-30 14:16:12 -07:00
Mingwei Samuel
b6cf9217d8 Add native-tls and rustls-tls features forwarded to reqwest 2021-06-30 14:15:17 -07:00
Mingwei Samuel
4b0cb11197 Regen 2021-06-30 2021-06-30 14:07:43 -07:00
Mingwei Samuel
c38afa7753 Fix handling of names for 'type' arg 2021-06-30 14:07:37 -07:00
Mingwei Samuel
c813228603 Regen for match-v5 dtos 2021-05-30 22:27:21 -07:00
Mingwei Samuel
2b1f109427 Handle numeric identifiers 2021-05-30 22:27:06 -07:00
Mingwei Samuel
1c4cadb6d9 Add matchlist test with mult-champion query string 2021-05-21 22:20:16 -07:00
Mingwei Samuel
20d5196f13 Improve endpoint method generated docs 2021-05-21 22:13:22 -07:00
Mingwei Samuel
ad5b1c70ea Release 2.0.0-beta.0 2021-05-21 22:06:07 -07:00
Mingwei Samuel
e7e40a3cc4 Add tests, fixes for tournament (stub) api 2021-05-21 21:59:51 -07:00
Mingwei Samuel
dded4d5644 Use new routing instead of region 2021-05-21 21:25:19 -07:00
Mingwei Samuel
d4cf56f496 Add new route enums to replace region 2021-05-21 21:07:31 -07:00
Mingwei Samuel
9c8313c604 Increase robustness of 429 handling, fix #4 2021-05-21 19:37:54 -07:00
Mingwei Samuel
39af464170 Update faliure case tests 2021-05-21 19:06:50 -07:00