Skip to main content

Cargo plugin for use with colcon workspaces

Project description

cargo-ament-build

This cargo plugin is a wrapper around cargo build which installs build artifacts in a layout expected by ament and ROS 2 tools.

It can be used standalone or through colcon-ros-cargo. Its command line interface is cargo ament-build --install-base <install base> -- <cargo build args>.

What does this plugin do?

  • It builds or checks the package, depending on whether it contains any binaries
  • It copies the source code and binaries to appropriate locations in the install base
  • It places marker files in the ament index

It is possible to specify additional files or directories to be installed in the metadata section of Cargo.toml like this:

[package.metadata.ros]
install_to_share = ["launch", "config"]

These paths are relative to the directory containing the Cargo.toml file and will be copied to the appropriate location in share.

The same mechanism applies with install_to_include and install_to_lib.

Target types other than libraries and binaries (i.e. benches, tests) are not yet installed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

cargo_ament_build-0.1.9-py3-none-win_amd64.whl (497.7 kB view details)

Uploaded Python 3 Windows x86-64

cargo_ament_build-0.1.9-py3-none-win32.whl (468.7 kB view details)

Uploaded Python 3 Windows x86

cargo_ament_build-0.1.9-py3-none-musllinux_1_2_x86_64.whl (676.5 kB view details)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

cargo_ament_build-0.1.9-py3-none-musllinux_1_2_i686.whl (684.7 kB view details)

Uploaded Python 3 musllinux: musl 1.2+ i686

cargo_ament_build-0.1.9-py3-none-musllinux_1_2_armv7l.whl (645.6 kB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARMv7l

cargo_ament_build-0.1.9-py3-none-musllinux_1_2_aarch64.whl (656.2 kB view details)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (630.8 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (764.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (677.0 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (666.7 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ i686

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (622.5 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

cargo_ament_build-0.1.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (613.2 kB view details)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

cargo_ament_build-0.1.9-py3-none-macosx_11_0_arm64.whl (559.5 kB view details)

Uploaded Python 3 macOS 11.0+ ARM64

cargo_ament_build-0.1.9-py3-none-macosx_10_12_x86_64.whl (589.3 kB view details)

Uploaded Python 3 macOS 10.12+ x86-64

File details

Details for the file cargo_ament_build-0.1.9-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c5c2fe295609f48fc7032e717b10327d79185c55b7ef1cf0870f7f6bf77b1fe1
MD5 70ee0b055dda74e04da8021a497c1ee2
BLAKE2b-256 992d339b41c8636a4cfb8de368e3273d7e5eb084b2f982506738f7e153423a07

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-win32.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-win32.whl
Algorithm Hash digest
SHA256 00a6e6afa3acb03872c22af4d0d28174bc4bcb349fc26e3d6fe2b005cdef2286
MD5 a561a8a67c954f5867f59b7d1543cecb
BLAKE2b-256 cf34a9733d9b63d22f95d6c12f3830b0ecc4ea88d35fa62694f0ec9ceadb877a

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f08aff52c8a3d810fb589c9b2ea2d66da0d006149d722710fc278e440015eef3
MD5 757a9a3a124e37364f4f3f3b7e4e8da4
BLAKE2b-256 6931ad0fa220ac8c3df1cb18910030adad63e4caef87d3847dd741aab02089de

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 61a8aa3e8579e36b7139b7299df7fa2a528beb9f4d293b14aed7eb9f84a1cba0
MD5 d3d8d87e641067dee942a96ec31a006c
BLAKE2b-256 ce2fb96e96ba1dedc4e466263e17bb1d442f58fede5dfe24e1bbba37a2ada9fc

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 9a21b1052699ff58b293f043127dab3fdec003f1d0426225801fbd5cf44baa4c
MD5 185fea08dbe5309dc2cbb597234baa92
BLAKE2b-256 c6a578956303c8a27610c4fbff59b81d034e0ae3ccfbe06c2ca65e5fe03722fe

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d49a5df48ee7dbcd4eea23b2cf44e95b5b7ad47d0f3db9351a06cb35d4f42444
MD5 1a4a6a6bd9254c6e3276800f054bb9a7
BLAKE2b-256 346c5e3ab7756f0377f8238ef13e6016fb6190beda881db4a25215fb49550b08

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d4c5790562ef421b8b8e347ff8daeabb5c1ad6733a54c9e3c17c2c130ebfd94
MD5 5f38541975ef830230afc2ceace203db
BLAKE2b-256 7c0d85db5ce4d82b402ac1258696f01d85a869ff7afdef49a4a1352671905f78

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 6e9c5830f1188fc80ed4ea7128e645d1a1b0660782d2dd95a714901209ce3a2e
MD5 9719c649c8d931665db364a7e6bafb64
BLAKE2b-256 6ce099f8f7fecc618db56620774bef57a3c8925558ad682443a398960c3d96b7

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 982e29b5e7270d9bc091a9aa7fe6dd155fc6711b9a26db1fb4dbc73e2b205c27
MD5 dde7c49aa7d78f003ae55c2433cdfbc5
BLAKE2b-256 b36bc90c9c7bc7a2b5ddb74ea56474e82a946db96c24ffd99d167d79a44cf867

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5bf3ad6b91b626fe2d514911e7ab71a0cb052d5d8529be476039920cc895187a
MD5 fd2b4abc11e9169023d9c780ad20b9ab
BLAKE2b-256 6df4c7531fa0e06b7ef7d1a7f828f455e06dbaba2f0baf3e5e0a95f3b6e4c85d

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e1daaf8cb8668b642826d4c891e94fcf31179ac2499066a71734eb6345748008
MD5 45516f6a14121e00f7cd1e109efede55
BLAKE2b-256 046dbd8579189986cf60a7289b4aa48cffdc49e31edc06a1435ba18b197cb490

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 949009749e7b77a2e362383b9dc451dec02bacd358aeafa15c8d514ccfcab14c
MD5 6907c001bf127b9e2aadfbe574607c71
BLAKE2b-256 541e2d05479bf7a7b776381c4ff7a84b8a91cddb19cf6b9ce9ef16f62dbde438

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 553440cb93fca80617da84e6889834967a07a48536680d51049aafd787fe8b62
MD5 31af44cab2d4b2c6ac6cfaacb37f0610
BLAKE2b-256 c671d1d677c4ba9fbc31bf7500615a6e7092e4858bd93e27d5c89745d9946bf9

See more details on using hashes here.

File details

Details for the file cargo_ament_build-0.1.9-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cargo_ament_build-0.1.9-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bf22e3b58335d0a71275b93d827eecd111e9f6dc44acbd8c7b0859244a412abe
MD5 ef4fd2a54f7d8984cb4ac853b2c4b9d2
BLAKE2b-256 ddc86d41c601ef40135d937bd22fdd91aa6cbd638833165fd08fed2c0942f8a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page