Crates.io | cargo-container |
lib.rs | cargo-container |
version | 0.0.0 |
source | src |
created_at | 2020-10-28 07:36:02.783102 |
updated_at | 2020-10-28 07:36:02.783102 |
description | package rlibs in several containing frontends |
homepage | |
repository | https://github.com/MaulingMonkey/cargo-container |
max_upload_size | |
id | 306254 |
size | 61,701 |
Wrap vanilla cargo rlibs/packages in generated "containers" for various ends.
This will build and run one of the example projects of [example/multiplatform] in Chrome
cargo install cargo-container
Author a Container.toml
workspace instead of a regular Cargo.toml
workspace
[workspace]
like you would in Cargo.toml
, with members
(and optionally exclude
)[[build]]
sections defining what crates
to wrap with what tools
[local-install]
Author the crates to wrap in said boilerplate
Run cargo container build
. This will:
[local-install]
tools
to generate Cargo.toml projectsCargo.toml
alongside Container.toml
that references the generated dependenciestools
to build generated Cargo.toml projectsProfit!
Licensed under either of
at your option.
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.