signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.52k stars 410 forks source link

set `imports_granularity = "Module"` #476

Closed cosmicexplorer closed 2 years ago

cosmicexplorer commented 2 years ago

Upon the suggestion of this comment (https://github.com/signalapp/libsignal/pull/287#discussion_r647029094), we modify our rustfmt config to splat out imports by each module.

cosmicexplorer commented 2 years ago

As noted in #470, I have created a branch docs-effort at https://github.com/cosmicexplorer/libsignal-client/tree/docs-effort which incorporates this change! This change is the first to be merged into that branch, at the top of the checklist I'm maintaining in #467.

jrose-signal commented 2 years ago

Cherry-picked as c8b81c9585cf7c300c8d41da561441ab8165eb33, will be in the next release!