Browse Source

fix: keep serde(rename = "none") so existing recipes with 'distributed_backend = "none"' still parse

Alexander Korolev 4 tháng trước cách đây
mục cha
commit
275e5f47ba
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  1. 1 0
      src/pre_serve.rs

+ 1 - 0
src/pre_serve.rs

@@ -63,6 +63,7 @@ pub enum DistributedBackend {
     Mp,
     Ray,
     #[default]
+    #[serde(rename = "none")]
     None_,
 }