#rename #packaging #crates

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

#1016 in Development tools

Download history 49/week @ 2023-12-08 98/week @ 2023-12-15 53/week @ 2023-12-22 90/week @ 2023-12-29 123/week @ 2024-01-05 105/week @ 2024-01-12 93/week @ 2024-01-19 27/week @ 2024-01-26 37/week @ 2024-02-02 20/week @ 2024-02-09 50/week @ 2024-02-16 103/week @ 2024-02-23 73/week @ 2024-03-01 87/week @ 2024-03-08 60/week @ 2024-03-15 48/week @ 2024-03-22

278 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

~5–15MB
~146K SLoC