Skip to content

Make modules system consistent #68

@kaichaosun

Description

@kaichaosun

There are 2 styles when introduce modules in Rust, following are the structure with a chat module:

Old style (with mod.rs),

src
 |- chat
        |- mod.rs
        |- other.rs
 |- lib.rs
 |- xyz.rs

New style:

src
 |- chat
        |- other.rs
 |- lib.rs
 |- xyz.rs
 |- chat.rs

Signal your preference so we can decide which styles to use. After we have all the dev signals, change the codebase to use the agreed style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions