Skip to content

Use _ in crate names #304

Closed
Closed
@sffc

Description

@sffc

We are using hyphens in package names, but underscores pretty much everywhere else:

  • File names
  • Crate names
  • Module names
  • Function names

I don't understand why we don't use underscores in package names, too. There are lots of Rust packages that use underscores, like serde_json. This would eliminate the oddness that you put "icu-locale" in Cargo.toml, but then when you use it in code, you need to write "icu_locale".

Metadata

Metadata

Assignees

Labels

C-metaComponent: Relating to ICU4X as a wholeT-coreType: Required functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions