#dotnet #net #binding-generator #bridge #cargo-subcommand #native #source-gear

app sourcegear-bridge-cargo

Cargo subcommand for SourceGear Bridge, a binding generator for .NET

1 unstable release

0.5.0 Apr 10, 2023

#464 in Cargo plugins

42 downloads per month

Custom license

9KB
165 lines

sourcegear-bridge-cargo

Using the Native AOT features of .NET 8.0, libraries can be built as regular native code which can be linked with any language that can interop with C.

SourceGear Bridge is a binding generator for .NET. It uses the metadata of .NET to creating Rust bindings.

This crate is a Cargo subcommand which makes it easy to configure a Rust project with the build script and config files necessary to use .NET code.

cargo sgbridge init --help

Dependencies

~1.4–2MB
~38K SLoC