rasmuspeders1 / cgotest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#

Build C static library

cd build
./configure
make

It will create static lib: libqrparser.a in build directory

Build an Run golang client

Follow this link to install golang compiler

cd bindings/go
go get ./...                            // fetch all dependencies
make                                    // compile
./build/qrparser code justadummystring  // run

Build and Run Rust client

You have to have rust tools already installed. You can use use rustup to install rust. Rustup is the officially recommended way to install and manage your rust toolchain(s) and associated tools like cargo.

cd binding/rust 
cargo run justadummystring

Build and Run Zig client

Install Zig compiler first

cd bindings/zig
zig build
./zig-out/bin/parser_cli

About


Languages

Language:Go 26.0%Language:Rust 21.7%Language:C++ 16.1%Language:Zig 11.6%Language:CMake 8.6%Language:Makefile 7.9%Language:C 6.3%Language:Shell 1.8%