GitXplorerGitXplorer
b

cargo-crate-type

public
2 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
d53769707c929ef41313c01ff2e996de1093aab9

Adds the necessary information to publish a crate

bbltavares committed 6 years ago
Unverified
c197f9746e67413ded38a2812dece73c850da7f7

Adjust version

bbltavares committed 6 years ago
Unverified
fbae648157c5b8b806d1c13ceb1f9b6b519d0da6

Fix subcomand matches as cargo extension

bbltavares committed 6 years ago
Unverified
abe5ed320fb3e835aba5c4496540d8ee716b90d1

Fix clippy lints

bbltavares committed 6 years ago
Unverified
57f927fe9f684c95d4cf26d55b60e9a21e414a65

Implements the file writing abilities as a CLI

bbltavares committed 6 years ago
Unverified
844c738a33763c5f4822132389357eacc9e7c196

Adds logic to modify the manifest

bbltavares committed 6 years ago

README

The README file for this repository.

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.