NAME

FFI::Build::File::Cargo - Write Rust extensions for Perl!

SYNOPSIS

Crete a rust project in the ffi directory that produces a dynamic library:

nyx% ls -R
.:
Cargo.lock  Cargo.toml  src/

./src:
lib.rs

Everything else works exactly like C. See FFI::Build for details.

DESCRIPTION

This module provides the necessary machinery to bundle rust code with your Perl extension. It uses FFI::Build and cargo to do the heavy lifting.

SEE ALSO

FFI::Platypus

The Core Platypus documentation.

FFI::Platypus::Lang::Rust

Rust language plugin for Platypus.

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.