docs.rs failed to build interoptopus_csharp-0.16.0-alpha.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
interoptopus_csharp-0.16.0-alpha.7
interoptopus_csharp
C# backend for Interoptopus.
Generates idiomatic C# bindings from a Rust FFI library, including classes for services, delegates for callbacks, and most Interoptopus patterns.
Usage
Add the crate as a dependency:
[]
= "..."
Then write a test that builds an inventory and runs the backend:
use RustInventory;
use ;
use RustLibrary;
This produces an Interop.cs file in bindings/ with [DllImport("my_lib")] declarations
and idiomatic C# wrappers for all registered items.
For multi-file output or custom namespaces, use a Dispatch:
use Dispatch;
use FileEmission;
use Target;
let dispatch = custom;