repackage

A terrible and nerve-inducing tool to rename a crate in a .crate file

APACHE-2.0 License

Downloads
55.4K
Stars
7
Committers
2

Repackage Rust .crate files under a different crate name.

This crate provides repackage::dot_crate, which repackages a .crate file so that it exports the same crate under a different name. It replaces the name attribute in Cargo.toml, and also rewrites references to the old name in the various .rs files that live outside of src/ (those in src/ use crate::).

See the library documentation for details.

Use with extreme caution.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Package Rankings
Top 26.09% on Crates.io
Badges
Extracted from project README
Build Status Codecov Crates.io Documentation