Skip to content

A cargo subcommand used to generate appropriate cxx bridge from a rust crate

License

Notifications You must be signed in to change notification settings

kraktus/cargo-extern-fn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-extern-fn

A cargo subcommand to be used as a pre-processor to various FFI generation libs from a rust crate. Currently support:

  • cxx: generate cxx::bridge from the public APIs.

Use the /// extern_fn:skip like an attribute to skip items.

Status

This tool is very much a work and progress and it is expected to polish the FFI boundaries by hand afterwards.

Installation

cargo install cargo-extern-fn

Usage

cargo extern-fn --dir [SRC_DIR] && cargo fmt

About

A cargo subcommand used to generate appropriate cxx bridge from a rust crate

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages