From 1ff7a900fac211059491f04e1c8dbce8ba1c8666 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 May 2022 21:22:10 -0700 Subject: [PATCH] Bump typify from 0.0.7 to 0.0.8 (#69) * Bump typify from 0.0.7 to 0.0.8 Bumps [typify](https://github.com/oxidecomputer/typify) from 0.0.7 to 0.0.8. - [Release notes](https://github.com/oxidecomputer/typify/releases) - [Changelog](https://github.com/oxidecomputer/typify/blob/main/CHANGELOG.adoc) - [Commits](https://github.com/oxidecomputer/typify/commits) --- updated-dependencies: - dependency-name: typify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * overwrite Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam H. Leventhal --- Cargo.lock | 12 ++++++------ progenitor-impl/Cargo.toml | 2 +- progenitor-impl/tests/output/nexus.out | 23 +++++++++++++++++++++++ 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bc640b5..6bb5019 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1793,9 +1793,9 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "typify" -version = "0.0.7" +version = "0.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcda9918fb3098219b36e3deca897c3be450dd9bfdb8e7a43e12380e0054f6c" +checksum = "d94783d3e464d8b2b8f78e826521e9f11c7df83523dafd544c5e642bf31df5a4" dependencies = [ "typify-impl", "typify-macro", @@ -1803,9 +1803,9 @@ dependencies = [ [[package]] name = "typify-impl" -version = "0.0.7" +version = "0.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8011d3c44c06af5930d7c9b0fbdc74a8ed4c4b5d35be07adc910a2679a4b9748" +checksum = "b27f7e4f8a3b375daabcd3721bc067920a59ea9a33c1f01b9b2b98d17c3b5497" dependencies = [ "heck", "log", @@ -1821,9 +1821,9 @@ dependencies = [ [[package]] name = "typify-macro" -version = "0.0.7" +version = "0.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6804c9de8bccf2e4be79d54442b165d0134766d99529712e139460fdc3a9db66" +checksum = "e4211d794d8e4e6fed99bdcd263529ee05af52d9794004cc235123216f1fef42" dependencies = [ "proc-macro2", "quote", diff --git a/progenitor-impl/Cargo.toml b/progenitor-impl/Cargo.toml index f7ed11d..5b62022 100644 --- a/progenitor-impl/Cargo.toml +++ b/progenitor-impl/Cargo.toml @@ -20,7 +20,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" syn = { version = "1.0", features = ["parsing"] } thiserror = "1.0" -typify = "0.0.7" +typify = "0.0.8" unicode-xid = "0.2" [dev-dependencies] diff --git a/progenitor-impl/tests/output/nexus.out b/progenitor-impl/tests/output/nexus.out index dbfa0cb..3f63411 100644 --- a/progenitor-impl/tests/output/nexus.out +++ b/progenitor-impl/tests/output/nexus.out @@ -98,10 +98,13 @@ pub mod types { Creating, #[serde(rename = "detached")] Detached, + #[doc = "Disk is being attached to the given Instance"] #[serde(rename = "attaching")] Attaching(uuid::Uuid), + #[doc = "Disk is attached to the given Instance"] #[serde(rename = "attached")] Attached(uuid::Uuid), + #[doc = "Disk is being detached from the given Instance"] #[serde(rename = "detaching")] Detaching(uuid::Uuid), #[serde(rename = "destroyed")] @@ -238,6 +241,7 @@ pub mod types { #[derive(Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type", content = "params")] pub enum InstanceNetworkInterfaceAttachment { + #[doc = "Create one or more `NetworkInterface`s for the `Instance`"] Create(InstanceNetworkInterfaceCreate), Default, None, @@ -586,12 +590,16 @@ pub mod types { #[derive(Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type", content = "value")] pub enum RouteDestination { + #[doc = "Route applies to traffic destined for a specific IP address"] #[serde(rename = "ip")] Ip(String), + #[doc = "Route applies to traffic destined for a specific IP subnet"] #[serde(rename = "ip_net")] IpNet(IpNet), + #[doc = "Route applies to traffic destined for the given VPC."] #[serde(rename = "vpc")] Vpc(Name), + #[doc = "Route applies to traffic"] #[serde(rename = "subnet")] Subnet(Name), } @@ -600,14 +608,19 @@ pub mod types { #[derive(Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type", content = "value")] pub enum RouteTarget { + #[doc = "Forward traffic to a particular IP address."] #[serde(rename = "ip")] Ip(String), + #[doc = "Forward traffic to a VPC"] #[serde(rename = "vpc")] Vpc(Name), + #[doc = "Forward traffic to a VPC Subnet"] #[serde(rename = "subnet")] Subnet(Name), + #[doc = "Forward traffic to a specific instance"] #[serde(rename = "instance")] Instance(Name), + #[doc = "Forward traffic to an internet gateway"] #[serde(rename = "internet_gateway")] InternetGateway(Name), } @@ -970,14 +983,19 @@ pub mod types { #[derive(Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type", content = "value")] pub enum VpcFirewallRuleHostFilter { + #[doc = "The rule applies to traffic from/to all instances in the VPC"] #[serde(rename = "vpc")] Vpc(Name), + #[doc = "The rule applies to traffic from/to all instances in the VPC Subnet"] #[serde(rename = "subnet")] Subnet(Name), + #[doc = "The rule applies to traffic from/to this specific instance"] #[serde(rename = "instance")] Instance(Name), + #[doc = "The rule applies to traffic from/to a specific IP address"] #[serde(rename = "ip")] Ip(String), + #[doc = "The rule applies to traffic from/to a specific IP subnet"] #[serde(rename = "ip_net")] IpNet(IpNet), } @@ -1024,14 +1042,19 @@ pub mod types { #[derive(Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type", content = "value")] pub enum VpcFirewallRuleTarget { + #[doc = "The rule applies to all instances in the VPC"] #[serde(rename = "vpc")] Vpc(Name), + #[doc = "The rule applies to all instances in the VPC Subnet"] #[serde(rename = "subnet")] Subnet(Name), + #[doc = "The rule applies to this specific instance"] #[serde(rename = "instance")] Instance(Name), + #[doc = "The rule applies to a specific IP address"] #[serde(rename = "ip")] Ip(String), + #[doc = "The rule applies to a specific IP subnet"] #[serde(rename = "ip_net")] IpNet(IpNet), }