pylon-cxx 0.3.3

Rust wrapper of the Pylon libraries for Basler cameras failed to build pylon-cxx-0.3.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure builds.
If you believe this is' fault, open an issue.


Rust wrapper of the Pylon libraries for Basler cameras using CXX.

Platform support

Windows, linux, and macOS are all tested.

async stream with tokio

Enable async stream support using tokio with the cargo feature stream. This feature is currently not compatible with Windows (help wanted).


This crate expects to find the Pylon developer kit at the usual install location. Build with normal rust commands. For example, to run the grab example:

cargo run --example grab

On macOS

On macOS, check this: In other words, do this:

export LD_LIBRARY_PATH=/Library/Frameworks/pylon.framework/Libraries

Camera emulation

See Basler's documentation. This can simulate different frame rates, failures, etc.

# on bash (e.g. linux)
# in Windows Powershell

Code of conduct

Anyone who interacts with this software in any space, including but not limited to this GitHub repository, must follow our code of conduct.


This crate is Copyright (C) 2020 Andrew Straw

Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or> or the MIT license <LICENSE-MIT or>, at your option. This file may not be copied, modified, or distributed except according to those terms.

Note that this license only covers this Rust crate. The underlying Pylon library has different license terms.