philss / rustler_precompiled

Use precompiled NIFs from trusted sources in your Elixir code
182 stars 26 forks source link

Be more specific about which paths to add from the native folder in the precompilation guide #25

Closed fabriziosestito closed 2 years ago

fabriziosestito commented 2 years ago

The precompilation guide gives an example about paths to include in the mix.exs package section prior publishing on hex.pm. However, the native path could contain directories such as target which are not needed in the hex.pm package. This PR makes the example more specific by only adding .cargo, src and Cargo.* paths.