Releases: vigoo/zio-http-rust
Releases · vigoo/zio-http-rust
v0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
What's Changed
- into body for stream by @senia-psm in #1
- Make sure simple enum cases are serialized the same as in zio-schema by @vigoo in #2
New Contributors
- @senia-psm made their first contribution in #1
- @vigoo made their first contribution in #2
Full Changelog: v0.0.8...v0.0.9
0.0.8
Fixes handling requests with Unit
response type:
200 => {
let body = ();
Ok(body)
}
Fixes handling of optional transformed codecs
async fn get_components(
&self,
project_id: Option<&str>,
component_name: Option<&str>,
authorization: &str
) -> Result<Vec<crate::model::Component>, ComponentError> {
Returns a byte stream for outStream[Byte]
responses:
async fn download_cli(
&self,
account_id: &str,
version: Option<&str>
) -> Result<Box<dyn futures_core::Stream<Item = reqwest::Result<bytes::Bytes>> + Send + Sync + Unpin>, DownloadCliError>;
Accepts a byte stream for inStream[Byte]
when the body is not multipart:
async fn put_component(
&self,
component_id: &str,
component: Box<dyn futures_core::Stream<Item = reqwest::Result<bytes::Bytes>> + Send + Sync + Unpin>,
authorization: &str
) -> Result<crate::model::Component, ComponentError>;
Accepts anything convertible to Body
for inStream[Byte]
when the request body is multipart:
async fn post_component(
&self,
field0: crate::model::ComponentQuery,
component: impl Into<reqwest::Body> + Send, authorization: &str
) -> Result<crate::model::Component, ComponentError>;
0.0.7
0.0.6
Full Changelog: v0.0.5...v0.0.6