#rename #packaging #cargo-toml #crates

bin+lib repackage

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

3 releases

0.1.2 Jul 30, 2024
0.1.1 Apr 12, 2021
0.1.0 Feb 23, 2021

#602 in Development tools

Download history 41/week @ 2024-07-14 33/week @ 2024-07-21 149/week @ 2024-07-28 42/week @ 2024-08-04 24/week @ 2024-08-11 17/week @ 2024-08-18 7/week @ 2024-08-25 39/week @ 2024-09-01 54/week @ 2024-09-08 57/week @ 2024-09-15 39/week @ 2024-09-22 39/week @ 2024-09-29 29/week @ 2024-10-06 23/week @ 2024-10-13 17/week @ 2024-10-20 22/week @ 2024-10-27

94 downloads per month

MIT/Apache

17KB
148 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

~2–9.5MB
~99K SLoC