diff --git a/lib/src/progress_jsonl.rs b/lib/src/progress_jsonl.rs index ea249552..37f3d2e9 100644 --- a/lib/src/progress_jsonl.rs +++ b/lib/src/progress_jsonl.rs @@ -65,9 +65,10 @@ pub struct SubTaskStep<'t> { /// An event emitted as JSON. #[derive(Debug, serde::Serialize, serde::Deserialize)] -#[serde(tag = "type", rename_all = "camelCase")] +#[serde(tag = "type")] pub enum Event<'t> { /// An incremental update to a container image layer download + #[serde(rename_all = "camelCase")] ProgressBytes { /// The version of the progress event format. #[serde(borrow)] @@ -100,6 +101,7 @@ pub enum Event<'t> { subtasks: Vec>, }, /// An incremental update with discrete steps + #[serde(rename_all = "camelCase")] ProgressSteps { /// The version of the progress event format. #[serde(borrow)]