Skip to content

Commit 2c94a53

Browse files
authored
feat(sidekick): make extra modules public (#2622)
In the far future we may want some public and some private modules, but this is what we need now.
1 parent 6258f4d commit 2c94a53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/sidekick/internal/rust/templates/crate/src/lib.rs.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ pub(crate) mod info {
144144

145145
{{/Codec.HasServices}}
146146
{{#Codec.ExtraModules}}
147-
mod {{{.}}};
147+
pub mod {{{.}}};
148148
{{/Codec.ExtraModules}}

internal/sidekick/internal/rust/templates/nosvc/src/lib.rs.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ limitations under the License.
4040
{{/HasDeprecatedEntities}}
4141
pub mod model;
4242
{{#Codec.ExtraModules}}
43-
mod {{{.}}};
43+
pub mod {{{.}}};
4444
{{/Codec.ExtraModules}}

0 commit comments

Comments
 (0)