prettytable-rs icon indicating copy to clipboard operation
prettytable-rs copied to clipboard

Rename crate from 'prettytable-rs' to 'prettytable'

Open dtolnay opened this issue 9 years ago • 5 comments

Every crate on crates.io is for Rust :smile: no reason for the -rs suffix.

dtolnay avatar Aug 23 '16 22:08 dtolnay

I would have been agree until I discovered the Prettytable python library. Also, I'm note sure renaming a crate is possible on crates.io

phsym avatar Aug 26 '16 13:08 phsym

I don't think renaming is possible but the next time you release a breaking change (0.7.0) you can publish it as prettytable instead of prettytable-rs.

dtolnay avatar Aug 26 '16 13:08 dtolnay

IMHO crate name should match repository name. If you rename crate, don't forget to rename the repo (Github will start redirecting all links).

If your crate target Rust devs only (and your do, as it's a library), feel free to drop -rs. If you want to be easier to find in Google, consider leaving it.

pzmarzly avatar Sep 29 '18 13:09 pzmarzly

This probably complicates experimenting with prettytable with evcxr Rust REPL.

$ evcxr 
Welcome to evcxr. For help, type :help
>> extern crate prettytable;
error: no matching package named `prettytable` found
>> extern crate prettytable_rs;
error: no matching package named `prettytable_rs` found
>> :dep prettytable-rs = "*"
(waiting)
can't find crate for `prettytable_rs`
>> extern crate prettytable;
error: no matching package named `prettytable` found

vi avatar Oct 04 '18 13:10 vi

but the next time you release a breaking change (0.7.0) you can publish it as prettytable instead of prettytable-rs

Will version 0.9 be renamed?

vi avatar Oct 04 '18 13:10 vi

There is 0.10 prettytable now as part of security release. Will continue to release to that as well.

pinkforest avatar Dec 27 '22 11:12 pinkforest