Skip to main content

rust-inspector is a scancode plugin to extract symbols and dependencies found in Rust binaries.

Project description

rust-inspector is a utility to extract dependencies and symbols from Rust binaries. It is designed to work as a ScanCode Toolkit plugin and integrated in ScanCode.io pipelines.

To install and use:

  • Run pip install rust-inspector

  • Use with scancode --json-pp - --rust-symbol --verbose <PATH to a tree or file with Rust binaries>

The JSON output will contain binary symbols found in Rust binaries if any.

A Go compiler is required to build go-inspector. Install Go from https://go.dev/doc/install or from a package manager.

Development

  • Install requirements and dependencies using ./configure --clean && ./configure --dev

  • Then source venv/bin/activate

Testing:

  • To run tests: pytest -vvs

  • To regen test fixtures: SCANCODE_REGEN_TEST_FIXTURES=yes pytest -vvs

Acknowledgements, Funding, Support and Sponsoring

This project is funded, supported and sponsored by:

  • Generous support and contributions from users like you!

  • the European Commission NGI programme

  • the NLnet Foundation

  • the Swiss State Secretariat for Education, Research and Innovation (SERI)

  • Google, including the Google Summer of Code and the Google Seasons of Doc programmes

  • Mercedes-Benz Group

  • Microsoft and Microsoft Azure

  • AboutCode ASBL

  • nexB Inc.

This project also uses some functions from other packages:

Europa logo EC DG Connect logo

NGI logo NLnet foundation logo

AboutCode logo nexB logo

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/Back2source/

This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

NGI Zero Core Logo https://nlnet.nl/project/Back2source-next/

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/purl2all/

Project details


Download files

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

Source Distribution

rust_inspector-0.2.1.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rust_inspector-0.2.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file rust_inspector-0.2.1.tar.gz.

File metadata

  • Download URL: rust_inspector-0.2.1.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rust_inspector-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d1bc4de0274e164d4ca9e3b813b0f63d3f65dc142155fbc5920c3daf97e9594b
MD5 86c3e0d379944fa2534ee327458ce4cd
BLAKE2b-256 1a48b550f0dfcbb061420d0658ba88412dc617a7c6cd5a5e72aad23b6aa6b3a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rust_inspector-0.2.1.tar.gz:

Publisher: pypi-release.yml on aboutcode-org/rust-inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rust_inspector-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: rust_inspector-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rust_inspector-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96c086068c7f8ffcc1a38ea31693ac743e36b9456594cd480c43ddf4834a8a87
MD5 8743198a0ccbadc9831fc6b6040c6b00
BLAKE2b-256 16e5cd83c1bd5a1aa90c738e4ea2e6ad55fef2bc875dcb40c910a1c7642788f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for rust_inspector-0.2.1-py3-none-any.whl:

Publisher: pypi-release.yml on aboutcode-org/rust-inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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