Changes for version 0.10 - 2022-10-23
- Documentation improvements (gh#5, gh#17, gh#22, gh#28, gh#31, gh#32, gh#35)
- Adding bool type. As noted in the CAVEATS, this is in practice always a sint8, but not technically guaranteed by the spec (gh#25, gh#33)
- Use cdylib in examples and in implementation as that is preferred for calling from C now (gh#16, gh#31)
- Tests are build with --release by default, just like the runtime cdylib, so that the Rust code doesn't have to be compiled twice (gh#26, gh#30)
- The PERL_FFI_CARGO_FLAGS environment variable can be used to change the flags passed into cargo test and cargo build this way you can use a different profile if you choose (gh#30)
Modules
Documentation and tools for using Platypus with the Rust programming language
Examples
- examples/Person/Makefile.PL
- examples/Person/ffi/Cargo.lock
- examples/Person/ffi/Cargo.toml
- examples/Person/ffi/src/lib.rs
- examples/Person/ffi/src/test.rs
- examples/Person/lib/Person.pm
- examples/Person/t/basic.t
- examples/add.pl
- examples/add.rs
- examples/callback.pl
- examples/callback.rs
- examples/old/points.pl
- examples/old/points.rs
- examples/panic.pl
- examples/panic.rs
- examples/slice.pl
- examples/slice.rs
- examples/string/argument.pl
- examples/string/argument.rs
- examples/string/return/keep.pl
- examples/string/return/keep.rs
- examples/string/return/return.pl
- examples/string/return/return.rs
- examples/string/return/static.pl
- examples/string/return/static.rs
- examples/tuple.pl
- examples/tuple.rs