4 releases

Uses old Rust 2015

0.2.2 Apr 3, 2019
0.2.1 Mar 27, 2018
0.2.0 Jan 3, 2018
0.1.0 Jul 14, 2017

#1234 in Hardware support

Download history 2/week @ 2024-02-19 5/week @ 2024-02-26 63/week @ 2024-04-01

63 downloads per month

MIT/Apache

165KB
5K SLoC

libdc1394-sys - rust FFI bindings for libdc1394 Version Status

Overview

This crate has FFI bindings to libdc1394.

Prerequisites

Requires libdc1394-2 and libusb-1.0. On Ubuntu 16.04, this can be installed with apt-get install libdc1394-22-dev libusb-1.0-0-dev. Also requires Rust bindgen and pkg-config crates and their prerequisites.

Regenerate the bindings

./run-bindgen.sh

Building

cargo build

License

Licensed under either of

Note that libdc1394 itself is licensed under the GNU LGPL.

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.

Code of conduct

Anyone who interacts with libdc1394-sys in any space including but not limited to this GitHub repository is expected to follow our code of conduct

Dependencies

~69KB