libquantum-patched

Crates.iolibquantum-patched
lib.rslibquantum-patched
version0.1.3
sourcesrc
created_at2018-04-04 01:04:31.808638
updated_at2018-04-04 01:04:31.808638
descriptionRust bindings for the libquantum C library.
homepage
repositoryhttps://github.com/qcgpu/rust-libquantum
max_upload_size
id58877
size54,950
Adam Kelly (adamisntdead)

documentation

README

rust-libquantum-patched

Bindings for libquantum in Rust - a fork

rust-libquantum-forked is a library that provides safe bindings to the libquantum library (v. 1.1.1) C library, a quantum simulator.

Like libquantum and rust-libquantum, rust-libquantum-patched is licensed under GPL-3.0 as it links dynamically against libquantum and was forked from rust-libquantum.

Prerequisits

  • Rust (install here).
  • Libquantum (can be installed from [source] or through a package manager, for example sudo apt-get install libquantum-dev or brew install libquantum --devel)

Installation

[dependencies]
libquantum-patched = "0.2"

You can also pull from GitHub to use the latest version.

[dependencies.libquantum]
git = "https://github.com/mknyszek/rust-libquantum"

Finally, you can also just clone this repository and compile with cargo build

Troubleshooting

If for some reason the build script cannot find quantum.h on your system, try installing from source

Contributing

Just submit a pull request, any help in getting these bindings general and complete is welcome. Some rules, though:

  • Any new code must be well-documented, whether or not it appears in the public interface.
  • If you want to change an existing public interface, give me a good reason.
  • Please add tests for any new functionality you create.
Commit count: 0

cargo fmt