Skip to content

Commit 9d88d24

Browse files
authored
update typify to 0.5.0 (#1212)
1 parent 47a993a commit 9d88d24

File tree

5 files changed

+34
-34
lines changed

5 files changed

+34
-34
lines changed

Cargo.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ syn = { version = "2.0.106", features = ["parsing"] }
5353
thiserror = "2.0.16"
5454
tokio = { version = "1.45.1", features = ["rt", "net"] }
5555
# change when publishing
56-
typify = { version = "0.4.3" }
56+
typify = { version = "0.5.0" }
5757
# typify = { git = "https://github.com/oxidecomputer/typify" }
5858
url = "2.5.7"
5959
unicode-ident = "1.0.19"

progenitor-impl/tests/output/src/buildomat_builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ pub mod types {
6060
)]
6161
#[serde(untagged)]
6262
pub enum GetThingOrThingsId {
63-
Variant0(::std::string::String),
64-
Variant1(::std::vec::Vec<::std::string::String>),
63+
String(::std::string::String),
64+
Array(::std::vec::Vec<::std::string::String>),
6565
}
6666

6767
impl ::std::convert::From<&Self> for GetThingOrThingsId {
@@ -72,7 +72,7 @@ pub mod types {
7272

7373
impl ::std::convert::From<::std::vec::Vec<::std::string::String>> for GetThingOrThingsId {
7474
fn from(value: ::std::vec::Vec<::std::string::String>) -> Self {
75-
Self::Variant1(value)
75+
Self::Array(value)
7676
}
7777
}
7878

progenitor-impl/tests/output/src/buildomat_builder_tagged.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ pub mod types {
5858
#[derive(:: serde :: Deserialize, :: serde :: Serialize, Clone, Debug)]
5959
#[serde(untagged)]
6060
pub enum GetThingOrThingsId {
61-
Variant0(::std::string::String),
62-
Variant1(::std::vec::Vec<::std::string::String>),
61+
String(::std::string::String),
62+
Array(::std::vec::Vec<::std::string::String>),
6363
}
6464

6565
impl ::std::convert::From<&Self> for GetThingOrThingsId {
@@ -70,7 +70,7 @@ pub mod types {
7070

7171
impl ::std::convert::From<::std::vec::Vec<::std::string::String>> for GetThingOrThingsId {
7272
fn from(value: ::std::vec::Vec<::std::string::String>) -> Self {
73-
Self::Variant1(value)
73+
Self::Array(value)
7474
}
7575
}
7676

progenitor-impl/tests/output/src/buildomat_positional.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ pub mod types {
5858
#[derive(:: serde :: Deserialize, :: serde :: Serialize, Clone, Debug)]
5959
#[serde(untagged)]
6060
pub enum GetThingOrThingsId {
61-
Variant0(::std::string::String),
62-
Variant1(::std::vec::Vec<::std::string::String>),
61+
String(::std::string::String),
62+
Array(::std::vec::Vec<::std::string::String>),
6363
}
6464

6565
impl ::std::convert::From<&Self> for GetThingOrThingsId {
@@ -70,7 +70,7 @@ pub mod types {
7070

7171
impl ::std::convert::From<::std::vec::Vec<::std::string::String>> for GetThingOrThingsId {
7272
fn from(value: ::std::vec::Vec<::std::string::String>) -> Self {
73-
Self::Variant1(value)
73+
Self::Array(value)
7474
}
7575
}
7676

0 commit comments

Comments
 (0)