Client Test

Client Test

rev. ec9f9fd4bcb1afa9b94bf9b2e52b604ab744e752 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/Cargo.lock

@@ -335,335 +605,605 @@
  355    355   
dependencies = [
  356    356   
 "futures-util",
  357    357   
 "pin-project-lite",
  358    358   
 "tokio",
  359    359   
]
  360    360   
  361    361   
[[package]]
  362    362   
name = "aws-smithy-cbor"
  363    363   
version = "0.61.5"
  364    364   
dependencies = [
  365         -
 "aws-smithy-types 1.4.5",
         365  +
 "aws-smithy-types 1.4.6",
  366    366   
 "criterion",
  367    367   
 "minicbor",
  368    368   
]
  369    369   
  370    370   
[[package]]
  371    371   
name = "aws-smithy-cbor"
  372    372   
version = "0.61.5"
  373    373   
source = "registry+https://github.com/rust-lang/crates.io-index"
  374    374   
checksum = "765f0b8c7728db30a230663df67ba25b9c650c1cc9ba553df15dfe0fadaa529c"
  375    375   
dependencies = [
  376         -
 "aws-smithy-types 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
         376  +
 "aws-smithy-types 1.4.5",
  377    377   
 "minicbor",
  378    378   
]
  379    379   
  380    380   
[[package]]
  381    381   
name = "aws-smithy-checksums"
  382    382   
version = "0.64.5"
  383    383   
dependencies = [
  384    384   
 "aws-smithy-http 0.63.5",
  385         -
 "aws-smithy-types 1.4.5",
         385  +
 "aws-smithy-types 1.4.6",
  386    386   
 "bytes",
  387    387   
 "bytes-utils",
  388    388   
 "crc-fast",
  389    389   
 "hex",
  390    390   
 "http 1.4.0",
  391    391   
 "http-body 1.0.1",
  392    392   
 "http-body-util",
  393    393   
 "md-5",
  394    394   
 "pin-project-lite",
  395    395   
 "pretty_assertions",
  396    396   
 "sha1",
  397    397   
 "sha2",
  398    398   
 "tokio",
  399    399   
 "tracing",
  400    400   
 "tracing-test",
  401    401   
]
  402    402   
  403    403   
[[package]]
  404    404   
name = "aws-smithy-compression"
  405    405   
version = "0.1.5"
  406    406   
dependencies = [
  407    407   
 "aws-smithy-runtime-api 1.11.5",
  408         -
 "aws-smithy-types 1.4.5",
         408  +
 "aws-smithy-types 1.4.6",
  409    409   
 "bytes",
  410    410   
 "bytes-utils",
  411    411   
 "flate2",
  412    412   
 "futures-util",
  413    413   
 "http 1.4.0",
  414    414   
 "http-body 1.0.1",
  415    415   
 "http-body-util",
  416    416   
 "pin-project-lite",
  417    417   
 "pretty_assertions",
  418    418   
 "tokio",
  419    419   
 "tracing",
  420    420   
]
  421    421   
  422    422   
[[package]]
  423    423   
name = "aws-smithy-dns"
  424    424   
version = "0.1.11"
  425    425   
dependencies = [
  426    426   
 "aws-smithy-runtime-api 1.11.5",
  427    427   
 "criterion",
  428    428   
 "hickory-resolver",
  429    429   
 "tokio",
  430    430   
]
  431    431   
  432    432   
[[package]]
  433    433   
name = "aws-smithy-eventstream"
  434    434   
version = "0.60.19"
  435    435   
dependencies = [
  436    436   
 "arbitrary",
  437         -
 "aws-smithy-types 1.4.5",
         437  +
 "aws-smithy-types 1.4.6",
  438    438   
 "bytes",
  439    439   
 "bytes-utils",
  440    440   
 "crc32fast",
  441    441   
 "criterion",
  442    442   
 "derive_arbitrary",
  443    443   
 "jemallocator",
  444    444   
 "mimalloc",
  445    445   
]
  446    446   
  447    447   
[[package]]
  448    448   
name = "aws-smithy-experimental"
  449    449   
version = "0.2.3"
  450    450   
  451    451   
[[package]]
  452    452   
name = "aws-smithy-http"
  453    453   
version = "0.62.6"
  454    454   
source = "registry+https://github.com/rust-lang/crates.io-index"
  455    455   
checksum = "826141069295752372f8203c17f28e30c464d22899a43a0c9fd9c458d469c88b"
  456    456   
dependencies = [
  457    457   
 "aws-smithy-runtime-api 1.11.5 (registry+https://github.com/rust-lang/crates.io-index)",
  458         -
 "aws-smithy-types 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
         458  +
 "aws-smithy-types 1.4.5",
  459    459   
 "bytes",
  460    460   
 "bytes-utils",
  461    461   
 "futures-core",
  462    462   
 "futures-util",
  463    463   
 "http 0.2.12",
  464    464   
 "http 1.4.0",
  465    465   
 "http-body 0.4.6",
  466    466   
 "percent-encoding",
  467    467   
 "pin-project-lite",
  468    468   
 "pin-utils",
  469    469   
 "tracing",
  470    470   
]
  471    471   
  472    472   
[[package]]
  473    473   
name = "aws-smithy-http"
  474    474   
version = "0.63.5"
  475    475   
dependencies = [
  476    476   
 "async-stream",
  477    477   
 "aws-smithy-eventstream",
  478    478   
 "aws-smithy-runtime-api 1.11.5",
  479         -
 "aws-smithy-types 1.4.5",
         479  +
 "aws-smithy-types 1.4.6",
  480    480   
 "bytes",
  481    481   
 "bytes-utils",
  482    482   
 "futures-core",
  483    483   
 "futures-util",
  484    484   
 "http 1.4.0",
  485    485   
 "http-body 1.0.1",
  486    486   
 "http-body-util",
  487    487   
 "hyper 1.8.1",
  488    488   
 "percent-encoding",
  489    489   
 "pin-project-lite",
  490    490   
 "pin-utils",
  491    491   
 "proptest",
  492    492   
 "tokio",
  493    493   
 "tracing",
  494    494   
]
  495    495   
  496    496   
[[package]]
  497    497   
name = "aws-smithy-http-client"
  498    498   
version = "1.1.11"
  499    499   
dependencies = [
  500    500   
 "aws-smithy-async 1.2.13",
  501    501   
 "aws-smithy-protocol-test",
  502    502   
 "aws-smithy-runtime-api 1.11.5",
  503         -
 "aws-smithy-types 1.4.5",
         503  +
 "aws-smithy-types 1.4.6",
  504    504   
 "base64 0.22.1",
  505    505   
 "bytes",
  506    506   
 "h2 0.3.27",
  507    507   
 "h2 0.4.13",
  508    508   
 "http 0.2.12",
  509    509   
 "http 1.4.0",
  510    510   
 "http-body 0.4.6",
  511    511   
 "http-body 1.0.1",
  512    512   
 "http-body-util",
  513    513   
 "hyper 0.14.32",
  514    514   
 "hyper 1.8.1",
  515    515   
 "hyper-rustls 0.24.2",
  516    516   
 "hyper-rustls 0.27.7",
  517    517   
 "hyper-util",
  518    518   
 "indexmap 2.13.0",
  519    519   
 "pin-project-lite",
  520    520   
 "rustls 0.21.12",
  521    521   
 "rustls 0.23.36",
  522    522   
 "rustls-native-certs 0.8.3",
  523    523   
 "rustls-pemfile 2.2.0",
  524    524   
 "rustls-pki-types",
  525    525   
 "s2n-tls",
  526    526   
 "s2n-tls-hyper",
  527    527   
 "s2n-tls-tokio",
  528    528   
 "serde",
  529    529   
 "serde_json",
  530    530   
 "serial_test",
  531    531   
 "tokio",
  532    532   
 "tokio-rustls 0.26.4",
  533    533   
 "tower 0.5.3",
  534    534   
 "tracing",
  535    535   
]
  536    536   
  537    537   
[[package]]
  538    538   
name = "aws-smithy-http-server"
  539    539   
version = "0.65.10"
  540    540   
source = "registry+https://github.com/rust-lang/crates.io-index"
  541    541   
checksum = "1b9af5ea8c9237159cc5ef0da15f77ed37321f94e121d6c9e9eb6f4f25b583de"
  542    542   
dependencies = [
  543    543   
 "aws-smithy-cbor 0.61.5 (registry+https://github.com/rust-lang/crates.io-index)",
  544    544   
 "aws-smithy-http 0.62.6",
  545    545   
 "aws-smithy-json 0.61.9",
  546    546   
 "aws-smithy-runtime-api 1.11.5 (registry+https://github.com/rust-lang/crates.io-index)",
  547         -
 "aws-smithy-types 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
         547  +
 "aws-smithy-types 1.4.5",
  548    548   
 "aws-smithy-xml 0.60.14 (registry+https://github.com/rust-lang/crates.io-index)",
  549    549   
 "bytes",
  550    550   
 "futures-util",
  551    551   
 "http 0.2.12",
  552    552   
 "http-body 0.4.6",
  553    553   
 "hyper 0.14.32",
  554    554   
 "mime",
  555    555   
 "nom",
  556    556   
 "pin-project-lite",
  557    557   
 "regex",
  558    558   
 "serde_urlencoded",
  559    559   
 "thiserror 2.0.18",
  560    560   
 "tokio",
  561    561   
 "tower 0.4.13",
  562    562   
 "tower-http 0.3.5",
  563    563   
 "tracing",
  564    564   
 "uuid",
  565    565   
]
  566    566   
  567    567   
[[package]]
  568    568   
name = "aws-smithy-http-server"
  569    569   
version = "0.66.2"
  570    570   
dependencies = [
  571    571   
 "aws-smithy-cbor 0.61.5",
  572    572   
 "aws-smithy-http 0.63.5",
  573    573   
 "aws-smithy-json 0.62.4",
  574    574   
 "aws-smithy-runtime-api 1.11.5",
  575         -
 "aws-smithy-types 1.4.5",
         575  +
 "aws-smithy-types 1.4.6",
  576    576   
 "aws-smithy-xml 0.60.14",
  577    577   
 "bytes",
  578    578   
 "futures-util",
  579    579   
 "http 1.4.0",
  580    580   
 "http-body 1.0.1",
  581    581   
 "http-body-util",
  582    582   
 "hyper 1.8.1",
  583    583   
 "hyper-util",
  584    584   
 "lambda_http 1.0.2",
  585    585   
 "mime",
@@ -611,611 +976,976 @@
  631    631   
 "syn 2.0.115",
  632    632   
]
  633    633   
  634    634   
[[package]]
  635    635   
name = "aws-smithy-http-server-python"
  636    636   
version = "0.67.0"
  637    637   
dependencies = [
  638    638   
 "aws-smithy-http 0.63.5",
  639    639   
 "aws-smithy-json 0.62.4",
  640    640   
 "aws-smithy-legacy-http-server",
  641         -
 "aws-smithy-types 1.4.5",
         641  +
 "aws-smithy-types 1.4.6",
  642    642   
 "aws-smithy-xml 0.60.14",
  643    643   
 "bytes",
  644    644   
 "futures",
  645    645   
 "futures-util",
  646    646   
 "http 0.2.12",
  647    647   
 "hyper 0.14.32",
  648    648   
 "hyper-rustls 0.24.2",
  649    649   
 "lambda_http 0.8.4",
  650    650   
 "num_cpus",
  651    651   
 "parking_lot",
  652    652   
 "pin-project-lite",
  653    653   
 "pretty_assertions",
  654    654   
 "pyo3",
  655    655   
 "pyo3-asyncio",
  656    656   
 "rcgen",
  657    657   
 "rustls-pemfile 1.0.4",
  658    658   
 "signal-hook",
  659    659   
 "socket2 0.5.10",
  660    660   
 "thiserror 2.0.18",
  661    661   
 "tls-listener",
  662    662   
 "tokio",
  663    663   
 "tokio-rustls 0.24.1",
  664    664   
 "tokio-stream",
  665    665   
 "tokio-test",
  666    666   
 "tower 0.4.13",
  667    667   
 "tower-test",
  668    668   
 "tracing",
  669    669   
 "tracing-appender",
  670    670   
 "tracing-subscriber",
  671    671   
]
  672    672   
  673    673   
[[package]]
  674    674   
name = "aws-smithy-json"
  675    675   
version = "0.61.9"
  676    676   
source = "registry+https://github.com/rust-lang/crates.io-index"
  677    677   
checksum = "49fa1213db31ac95288d981476f78d05d9cbb0353d22cdf3472cc05bb02f6551"
  678    678   
dependencies = [
  679         -
 "aws-smithy-types 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
         679  +
 "aws-smithy-types 1.4.5",
  680    680   
]
  681    681   
  682    682   
[[package]]
  683    683   
name = "aws-smithy-json"
  684    684   
version = "0.62.4"
  685    685   
dependencies = [
  686         -
 "aws-smithy-types 1.4.5",
         686  +
 "aws-smithy-types 1.4.6",
  687    687   
 "proptest",
  688    688   
 "serde_json",
  689    689   
]
  690    690   
  691    691   
[[package]]
  692    692   
name = "aws-smithy-legacy-http"
  693    693   
version = "0.62.12"
  694    694   
dependencies = [
  695    695   
 "async-stream",
  696    696   
 "aws-smithy-eventstream",
  697    697   
 "aws-smithy-runtime-api 1.11.5",
  698         -
 "aws-smithy-types 1.4.5",
         698  +
 "aws-smithy-types 1.4.6",
  699    699   
 "bytes",
  700    700   
 "bytes-utils",
  701    701   
 "futures-core",
  702    702   
 "futures-util",
  703    703   
 "http 0.2.12",
  704    704   
 "http 1.4.0",
  705    705   
 "http-body 0.4.6",
  706    706   
 "hyper 0.14.32",
  707    707   
 "percent-encoding",
  708    708   
 "pin-project-lite",
  709    709   
 "pin-utils",
  710    710   
 "proptest",
  711    711   
 "tokio",
  712    712   
 "tracing",
  713    713   
]
  714    714   
  715    715   
[[package]]
  716    716   
name = "aws-smithy-legacy-http-server"
  717    717   
version = "0.65.13"
  718    718   
dependencies = [
  719    719   
 "aws-smithy-cbor 0.61.5",
  720    720   
 "aws-smithy-json 0.62.4",
  721    721   
 "aws-smithy-legacy-http",
  722    722   
 "aws-smithy-runtime-api 1.11.5",
  723         -
 "aws-smithy-types 1.4.5",
         723  +
 "aws-smithy-types 1.4.6",
  724    724   
 "aws-smithy-xml 0.60.14",
  725    725   
 "bytes",
  726    726   
 "futures-util",
  727    727   
 "http 0.2.12",
  728    728   
 "http-body 0.4.6",
  729    729   
 "hyper 0.14.32",
  730    730   
 "lambda_http 0.8.4",
  731    731   
 "mime",
  732    732   
 "nom",
  733    733   
 "pin-project-lite",
  734    734   
 "pretty_assertions",
  735    735   
 "regex",
  736    736   
 "serde_urlencoded",
  737    737   
 "thiserror 2.0.18",
  738    738   
 "tokio",
  739    739   
 "tower 0.4.13",
  740    740   
 "tower-http 0.3.5",
  741    741   
 "tracing",
  742    742   
 "uuid",
  743    743   
]
  744    744   
  745    745   
[[package]]
  746    746   
name = "aws-smithy-mocks"
  747    747   
version = "0.2.5"
  748    748   
dependencies = [
  749    749   
 "aws-smithy-async 1.2.13",
  750    750   
 "aws-smithy-http-client",
  751    751   
 "aws-smithy-runtime",
  752    752   
 "aws-smithy-runtime-api 1.11.5",
  753         -
 "aws-smithy-types 1.4.5",
         753  +
 "aws-smithy-types 1.4.6",
  754    754   
 "http 1.4.0",
  755    755   
 "tokio",
  756    756   
]
  757    757   
  758    758   
[[package]]
  759    759   
name = "aws-smithy-observability"
  760    760   
version = "0.2.5"
  761    761   
dependencies = [
  762    762   
 "aws-smithy-runtime-api 1.11.5",
  763    763   
 "serial_test",
  764    764   
]
  765    765   
  766    766   
[[package]]
  767    767   
name = "aws-smithy-observability-otel"
  768    768   
version = "0.1.10"
  769    769   
dependencies = [
  770    770   
 "async-global-executor",
  771    771   
 "async-task",
  772    772   
 "aws-smithy-observability",
  773    773   
 "criterion",
  774    774   
 "opentelemetry",
  775    775   
 "opentelemetry_sdk",
  776    776   
 "stats_alloc",
  777    777   
 "tokio",
  778    778   
 "value-bag",
  779    779   
]
  780    780   
  781    781   
[[package]]
  782    782   
name = "aws-smithy-protocol-test"
  783    783   
version = "0.63.13"
  784    784   
dependencies = [
  785    785   
 "assert-json-diff",
  786    786   
 "aws-smithy-runtime-api 1.11.5",
  787    787   
 "base64-simd",
  788    788   
 "cbor-diag",
  789    789   
 "ciborium",
  790    790   
 "http 0.2.12",
  791    791   
 "http 1.4.0",
  792    792   
 "pretty_assertions",
  793    793   
 "regex-lite",
  794    794   
 "roxmltree",
  795    795   
 "serde_json",
  796    796   
 "thiserror 2.0.18",
  797    797   
]
  798    798   
  799    799   
[[package]]
  800    800   
name = "aws-smithy-query"
  801    801   
version = "0.60.14"
  802    802   
dependencies = [
  803         -
 "aws-smithy-types 1.4.5",
         803  +
 "aws-smithy-types 1.4.6",
  804    804   
 "urlencoding",
  805    805   
]
  806    806   
  807    807   
[[package]]
  808    808   
name = "aws-smithy-runtime"
  809    809   
version = "1.10.2"
  810    810   
dependencies = [
  811    811   
 "approx",
  812    812   
 "aws-smithy-async 1.2.13",
  813    813   
 "aws-smithy-http 0.63.5",
  814    814   
 "aws-smithy-http-client",
  815    815   
 "aws-smithy-observability",
  816    816   
 "aws-smithy-runtime-api 1.11.5",
  817         -
 "aws-smithy-types 1.4.5",
         817  +
 "aws-smithy-types 1.4.6",
  818    818   
 "bytes",
  819    819   
 "fastrand",
  820    820   
 "futures-util",
  821    821   
 "http 0.2.12",
  822    822   
 "http 1.4.0",
  823    823   
 "http-body 0.4.6",
  824    824   
 "http-body 1.0.1",
  825    825   
 "http-body-util",
  826    826   
 "hyper 0.14.32",
  827    827   
 "pin-project-lite",
  828    828   
 "pin-utils",
  829    829   
 "pretty_assertions",
  830    830   
 "tokio",
  831    831   
 "tracing",
  832    832   
 "tracing-subscriber",
  833    833   
 "tracing-test",
  834    834   
]
  835    835   
  836    836   
[[package]]
  837    837   
name = "aws-smithy-runtime-api"
  838    838   
version = "1.11.5"
  839    839   
dependencies = [
  840    840   
 "aws-smithy-async 1.2.13",
  841         -
 "aws-smithy-types 1.4.5",
         841  +
 "aws-smithy-types 1.4.6",
  842    842   
 "bytes",
  843    843   
 "http 0.2.12",
  844    844   
 "http 1.4.0",
  845    845   
 "pin-project-lite",
  846    846   
 "proptest",
  847    847   
 "tokio",
  848    848   
 "tracing",
  849    849   
 "zeroize",
  850    850   
]
  851    851   
  852    852   
[[package]]
  853    853   
name = "aws-smithy-runtime-api"
  854    854   
version = "1.11.5"
  855    855   
source = "registry+https://github.com/rust-lang/crates.io-index"
  856    856   
checksum = "b4af6e5def28be846479bbeac55aa4603d6f7986fc5da4601ba324dd5d377516"
  857    857   
dependencies = [
  858    858   
 "aws-smithy-async 1.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
  859         -
 "aws-smithy-types 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
         859  +
 "aws-smithy-types 1.4.5",
  860    860   
 "bytes",
  861    861   
 "http 0.2.12",
  862    862   
 "http 1.4.0",
  863    863   
 "pin-project-lite",
  864    864   
 "tokio",
  865    865   
 "tracing",
  866    866   
]
  867    867   
  868    868   
[[package]]
  869    869   
name = "aws-smithy-types"
  870    870   
version = "1.4.5"
         871  +
source = "registry+https://github.com/rust-lang/crates.io-index"
         872  +
checksum = "8ca2734c16913a45343b37313605d84e7d8b34a4611598ce1d25b35860a2bed3"
  871    873   
dependencies = [
  872         -
 "base64 0.13.1",
  873    874   
 "base64-simd",
  874    875   
 "bytes",
  875    876   
 "bytes-utils",
  876         -
 "ciborium",
  877         -
 "criterion",
  878    877   
 "futures-core",
  879    878   
 "http 0.2.12",
  880    879   
 "http 1.4.0",
  881    880   
 "http-body 0.4.6",
  882    881   
 "http-body 1.0.1",
  883    882   
 "http-body-util",
  884    883   
 "hyper 0.14.32",
  885    884   
 "itoa",
  886         -
 "lazy_static",
  887    885   
 "num-integer",
  888    886   
 "pin-project-lite",
  889    887   
 "pin-utils",
  890         -
 "proptest",
  891         -
 "rand 0.8.5",
  892    888   
 "ryu",
  893    889   
 "serde",
  894         -
 "serde_json",
  895         -
 "tempfile",
  896    890   
 "time",
  897    891   
 "tokio",
  898         -
 "tokio-stream",
  899    892   
 "tokio-util",
  900    893   
]
  901    894   
  902    895   
[[package]]
  903    896   
name = "aws-smithy-types"
  904         -
version = "1.4.5"
  905         -
source = "registry+https://github.com/rust-lang/crates.io-index"
  906         -
checksum = "8ca2734c16913a45343b37313605d84e7d8b34a4611598ce1d25b35860a2bed3"
         897  +
version = "1.4.6"
  907    898   
dependencies = [
         899  +
 "base64 0.13.1",
  908    900   
 "base64-simd",
  909    901   
 "bytes",
  910    902   
 "bytes-utils",
         903  +
 "ciborium",
         904  +
 "criterion",
  911    905   
 "futures-core",
  912    906   
 "http 0.2.12",
  913    907   
 "http 1.4.0",
  914    908   
 "http-body 0.4.6",
  915    909   
 "http-body 1.0.1",
  916    910   
 "http-body-util",
  917    911   
 "hyper 0.14.32",
  918    912   
 "itoa",
         913  +
 "lazy_static",
  919    914   
 "num-integer",
  920    915   
 "pin-project-lite",
  921    916   
 "pin-utils",
         917  +
 "proptest",
         918  +
 "rand 0.8.5",
  922    919   
 "ryu",
  923    920   
 "serde",
         921  +
 "serde_json",
         922  +
 "tempfile",
  924    923   
 "time",
  925    924   
 "tokio",
         925  +
 "tokio-stream",
  926    926   
 "tokio-util",
  927    927   
]
  928    928   
  929    929   
[[package]]
  930    930   
name = "aws-smithy-types-convert"
  931    931   
version = "0.60.13"
  932    932   
dependencies = [
  933    933   
 "aws-smithy-async 1.2.13",
  934         -
 "aws-smithy-types 1.4.5",
         934  +
 "aws-smithy-types 1.4.6",
  935    935   
 "chrono",
  936    936   
 "futures-core",
  937    937   
 "time",
  938    938   
]
  939    939   
  940    940   
[[package]]
  941    941   
name = "aws-smithy-wasm"
  942    942   
version = "0.1.9"
  943    943   
dependencies = [
  944    944   
 "aws-smithy-http 0.63.5",
  945    945   
 "aws-smithy-runtime-api 1.11.5",
  946         -
 "aws-smithy-types 1.4.5",
         946  +
 "aws-smithy-types 1.4.6",
  947    947   
 "bytes",
  948    948   
 "http 1.4.0",
  949    949   
 "tracing",
  950    950   
 "wasip2",
  951    951   
]
  952    952   
  953    953   
[[package]]
  954    954   
name = "aws-smithy-xml"
  955    955   
version = "0.60.14"
  956    956   
dependencies = [
@@ -2366,2366 +2426,2426 @@
 2386   2386   
[[package]]
 2387   2387   
name = "inlineable"
 2388   2388   
version = "0.1.0"
 2389   2389   
dependencies = [
 2390   2390   
 "aws-smithy-cbor 0.61.5",
 2391   2391   
 "aws-smithy-compression",
 2392   2392   
 "aws-smithy-http 0.63.5",
 2393   2393   
 "aws-smithy-json 0.62.4",
 2394   2394   
 "aws-smithy-runtime",
 2395   2395   
 "aws-smithy-runtime-api 1.11.5",
 2396         -
 "aws-smithy-types 1.4.5",
        2396  +
 "aws-smithy-types 1.4.6",
 2397   2397   
 "aws-smithy-xml 0.60.14",
 2398   2398   
 "bytes",
 2399   2399   
 "fastrand",
 2400   2400   
 "futures-util",
 2401   2401   
 "http 0.2.12",
 2402   2402   
 "http 1.4.0",
 2403   2403   
 "http-body 0.4.6",
 2404   2404   
 "http-body 1.0.1",
 2405   2405   
 "http-body-util",
 2406   2406   
 "md-5",

tmp-codegen-diff/codegen-client-test/endpoint-rules/rust-client-codegen/src/endpoint_lib/diagnostic.rs

@@ -7,7 +45,46 @@
   27     27   
    pub(crate) fn capture<T, E: Into<Box<dyn Error + Send + Sync>>>(&mut self, err: Result<T, E>) -> Option<T> {
   28     28   
        match err {
   29     29   
            Ok(res) => Some(res),
   30     30   
            Err(e) => {
   31     31   
                self.report_error(e);
   32     32   
                None
   33     33   
            }
   34     34   
        }
   35     35   
    }
   36     36   
          37  +
    #[allow(dead_code)]
   37     38   
    pub(crate) fn take_last_error(&mut self) -> Option<Box<dyn Error + Send + Sync>> {
   38     39   
        self.last_error.take()
   39     40   
    }
   40     41   
   41     42   
    /// Create a new diagnostic collector
   42     43   
    pub(crate) fn new() -> Self {
   43     44   
        Self { last_error: None }
   44     45   
    }
   45     46   
}