├── .formatter.exs ├── .github └── workflows │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── README.md ├── lib ├── rustler_precompilation_example.ex └── rustler_precompilation_example │ └── native.ex ├── mix.exs ├── mix.lock ├── native └── example │ ├── .cargo │ └── config │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ ├── Cross.toml │ ├── README.md │ └── src │ └── lib.rs └── test ├── rustler_precompilation_example_test.exs └── test_helper.exs /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/README.md -------------------------------------------------------------------------------- /lib/rustler_precompilation_example.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/lib/rustler_precompilation_example.ex -------------------------------------------------------------------------------- /lib/rustler_precompilation_example/native.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/lib/rustler_precompilation_example/native.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/mix.lock -------------------------------------------------------------------------------- /native/example/.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/native/example/.cargo/config -------------------------------------------------------------------------------- /native/example/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /native/example/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/native/example/Cargo.lock -------------------------------------------------------------------------------- /native/example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/native/example/Cargo.toml -------------------------------------------------------------------------------- /native/example/Cross.toml: -------------------------------------------------------------------------------- 1 | [build.env] 2 | passthrough = [ 3 | "RUSTLER_NIF_VERSION" 4 | ] 5 | -------------------------------------------------------------------------------- /native/example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/native/example/README.md -------------------------------------------------------------------------------- /native/example/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/native/example/src/lib.rs -------------------------------------------------------------------------------- /test/rustler_precompilation_example_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philss/rustler_precompilation_example/HEAD/test/rustler_precompilation_example_test.exs -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | --------------------------------------------------------------------------------