Skip to content

telus-agcg/platform-ffi_common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffi_common

This repository provides libraries for generating a Foreign Function Interface (FFI) for Rust, and the consumer code for safely interacting with that FFI.

ffi_common

The main interface. This re-exports the other crates in this workspace and is the only thing that consumers should need to depend on. Directory: ffi_common/

ffi_core

Low-level FFI functionality, including error handling, safe string conversion, Option and collection types for primitives, and macros for managing Option and collection types for custom types. Directory: ffi_core/

ffi_derive

A procedural macro crate with macros for generating an FFI for structs, enums, impls, and fns. Directory: ffi_derive/

ffi_internals

Internal details, including syntax parsing, Rust code generation for ffi_derive, and a consumer module for generating consumer code (currently Swift only). Directory: ffi_internals/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •