cargo-crate-type

Crates.iocargo-crate-type
lib.rscargo-crate-type
version0.1.0
sourcesrc
created_at2018-11-17 21:49:02.773851
updated_at2018-11-17 21:49:02.773851
descriptionEdits the lib crate type to help building cross-platform libs, by modifying Cargo.toml
homepagehttps://github.com/bltavares/cargo-crate-type
repositoryhttps://github.com/bltavares/cargo-crate-type
max_upload_size
id97305
size19,595
crates.io publishers (github:artichoke:crates-io-publishers)

documentation

https://github.com/bltavares/cargo-crate-type/blob/master/README.md

README

cargo crate-type

Edits the lib crate type to help building cross-platform libs, by modifying Cargo.toml


This command cargo subcommand is exclusively intended to be used to help with working arround how crate types are defined, in order to help with cross-platform builds.

It is currently not possible to define a single crate-type override on cargo build, which causes libs intended to be used on other languages to compile more than one type of crate.

With this command, the Cargo.toml will be rewriten top include only the specific needed crate type, either it being dynamic or static.

cargo install cargo-crate-type

cargo crate-type [dynamic|static]

Beware: This command will alter your Cargo.toml

Intended to be used on crossgen

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.

Commit count: 8

cargo fmt