#packaging #crate #rename

bin+lib repackage

An infernal tool to repackage a .crate file under another name

2 releases

0.1.1 Apr 12, 2021
0.1.0 Feb 23, 2021

#11 in #rename

Download history 320/week @ 2022-06-09 364/week @ 2022-06-16 358/week @ 2022-06-23 228/week @ 2022-06-30 462/week @ 2022-07-07 314/week @ 2022-07-14 431/week @ 2022-07-21 337/week @ 2022-07-28 386/week @ 2022-08-04 420/week @ 2022-08-11 471/week @ 2022-08-18 477/week @ 2022-08-25 311/week @ 2022-09-01 380/week @ 2022-09-08 309/week @ 2022-09-15 342/week @ 2022-09-22

1,436 downloads per month

MIT/Apache

16KB
146 lines

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.

Dependencies

~3.5–9MB
~164K SLoC