Skip to content

Commit

Permalink
fix iotcentral
Browse files Browse the repository at this point in the history
  • Loading branch information
cataggar committed Sep 22, 2023
1 parent aa4b4ce commit 65dd3ab
Show file tree
Hide file tree
Showing 9 changed files with 7,123 additions and 17,195 deletions.
6 changes: 3 additions & 3 deletions services/svc/iotcentral/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ default = ["package-2022-07-31", "enable_reqwest"]
enable_reqwest = ["azure_core/enable_reqwest"]
enable_reqwest_rustls = ["azure_core/enable_reqwest_rustls"]
no-default-tag = []
"package-2022-10-31-preview" = []
"package-2022-07-31" = []
"package-2022-06-30-preview" = []
"package-2022-05-31" = []
"package-2021-04-30-preview" = []
"package-2021-04-30-preview" = []
"package-1_2-preview" = []
"package-1_1-preview" = []
6 changes: 3 additions & 3 deletions services/svc/iotcentral/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ The default tag is `package-2022-07-31`.

The following [tags](https://github.com/Azure/azure-sdk-for-rust/blob/main/services/tags.md) are available:

- `package-2022-10-31-preview` has 120 operations from 1 API versions: `2022-10-31-preview`. Use crate feature `package-2022-10-31-preview` to enable. The operations will be in the `package_2022_10_31_preview` module.
- `package-2022-07-31` has 96 operations from 1 API versions: `2022-07-31`. Use crate feature `package-2022-07-31` to enable. The operations will be in the `package_2022_07_31` module.
- `package-2022-06-30-preview` has 114 operations from 1 API versions: `2022-06-30-preview`. Use crate feature `package-2022-06-30-preview` to enable. The operations will be in the `package_2022_06_30_preview` module.
- `package-2022-05-31` has 67 operations from 1 API versions: `2022-05-31`. Use crate feature `package-2022-05-31` to enable. The operations will be in the `package_2022_05_31` module.
- `package-2021-04-30-preview` has 71 operations from 1 API versions: `preview`. Use crate feature `package-2021-04-30-preview` to enable. The operations will be in the `package_2021_04_30_preview` module.
- `package-2021-04-30-preview` has 71 operations from 1 API versions: `preview`. Use crate feature `package-2021-04-30-preview` to enable. The operations will be in the `package_2021_04_30_preview` module.
- `package-1.2-preview` has 92 operations from 1 API versions: `1.2-preview`. Use crate feature `package-1_2-preview` to enable. The operations will be in the `package_1_2_preview` module.
- `package-1.1-preview` has 88 operations from 1 API versions: `1.1-preview`. Use crate feature `package-1_1-preview` to enable. The operations will be in the `package_1_1_preview` module.
7 changes: 7 additions & 0 deletions services/svc/iotcentral/autorust.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[tags]
deny = [
# duplicate "x-ms-discriminator-value"
# https://github.com/Azure/azure-rest-api-specs/issues/25931
"package-2022-10-31-preview",
"package-2022-06-30-preview",
]
16 changes: 8 additions & 8 deletions services/svc/iotcentral/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@
#![allow(clippy::ptr_arg)]
#![allow(clippy::large_enum_variant)]
#![allow(clippy::derive_partial_eq_without_eq)]
#[cfg(feature = "package-2022-10-31-preview")]
pub mod package_2022_10_31_preview;
#[cfg(all(feature = "package-2022-10-31-preview", not(feature = "no-default-tag")))]
pub use package_2022_10_31_preview::*;
#[cfg(feature = "package-2022-07-31")]
pub mod package_2022_07_31;
#[cfg(all(feature = "package-2022-07-31", not(feature = "no-default-tag")))]
pub use package_2022_07_31::*;
#[cfg(feature = "package-2022-06-30-preview")]
pub mod package_2022_06_30_preview;
#[cfg(all(feature = "package-2022-06-30-preview", not(feature = "no-default-tag")))]
pub use package_2022_06_30_preview::*;
#[cfg(feature = "package-2022-05-31")]
pub mod package_2022_05_31;
#[cfg(all(feature = "package-2022-05-31", not(feature = "no-default-tag")))]
Expand All @@ -23,3 +15,11 @@ pub use package_2022_05_31::*;
pub mod package_2021_04_30_preview;
#[cfg(all(feature = "package-2021-04-30-preview", not(feature = "no-default-tag")))]
pub use package_2021_04_30_preview::*;
#[cfg(feature = "package-1_2-preview")]
pub mod package_1_2_preview;
#[cfg(all(feature = "package-1_2-preview", not(feature = "no-default-tag")))]
pub use package_1_2_preview::*;
#[cfg(feature = "package-1_1-preview")]
pub mod package_1_1_preview;
#[cfg(all(feature = "package-1_1-preview", not(feature = "no-default-tag")))]
pub use package_1_1_preview::*;

Large diffs are not rendered by default.

Loading

0 comments on commit 65dd3ab

Please sign in to comment.