googleapis / googleapis/google-cloud-rust

Cleanup the weird `use super::*` at the beginning of each generated module

Open
#1,981 0 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

They are needed to (at least) to bootstrap the `wkt` crate. This introduces the name as an alias at the top-level generated module and then it is carried forward:

https://github.com/googleapis/google-cloud-rust/blob/b2ce0e16da3eefbd4bb187ca228004aa1ded3fdc/src/wkt/src/generated/mod.rs#L19

These are not public, so we can clean them up without breaking anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.