use chrono::Duration instead of custom client type

This commit is contained in:
philippeitis
2022-10-07 20:44:31 -07:00
parent 477be5d76c
commit 44882a3c44

View File

@@ -41,7 +41,7 @@ TYPE_MAP = {
'date-time': CHRONO_DATETIME,
'date': CHRONO_DATETIME,
# custom impl
'google-duration': 'client::types::Duration',
'google-duration': 'client::chrono::Duration',
# guessing bytes is universally url-safe b64
"byte": "Vec<u8>",
# TODO: Provide support for these as well