docs.rs failed to build intercom-0.3.0
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:
intercom-0.4.0
Tools to define Rust components compatible with the COM protocol.
Intercom provides attributes to automatically derive extern compatible
functions for Rust methods. These functions are compatible with COM binary
interface standard, which allows them to be used from any language that
supports COM.
Examples
A basic example of a calculator type exposed as a COM object.
use ;
// Define COM classes to expose from this library.
com_library!;
// Define the COM class and the interfaces it implements.
;
// Define the implementation for the class. The COM interface is defined
// implicitly by the `impl`.
#
The above library can be used for example from C# in the following manner.
void Main()
{
var calculator = new CalculatorLib.Calculator();
Console.WriteLine( calculator.Add( 1, 2 ) );
}