jonhoo / repackage

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Codecov Crates.io Documentation

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.

About

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

License:Apache License 2.0


Languages

Language:Rust 100.0%