Language bindings for popular languages, surfacing Q# compiler and resource estimator APIs
- C#
- Swift
- Kotlin
- Python (though that is also natively supported by Q# already)
- Install
uniffi-bindgen-cs
to support C# bindings generations. The other language bindings are supported without any extra dependencies.
cargo install uniffi-bindgen-cs --git https://github.com/NordSecurity/uniffi-bindgen-cs
- Run the following command to build the project:
cargo build --release
-
The language bindings are generated into the
bindings
directory. -
The native library is located under
./target/release/libqsharp_bridge.{so|dll|dylib|a}
.
Explore the C#/Swift/Kotlin examples here.