%% project_plugins intentionally NOT listed here — they are dev-only and
%% must not appear in the published rebar.config (causes rebar3 hook failures
%% when sied is used as a dependency on rebar3 >= 3.25).

{hex, [
    {doc, ex_doc},
    {files, [
        "src",
        "native/sied/src/lib.rs",
        "native/sied/Cargo.toml",
        "native/sied/Cargo.lock",
        "priv/sied.dll",
        "priv/sied.so",
        "priv/sied.dylib",
        "rebar.config", "Makefile", "README*", "LICENSE*"
    ]}
]}.

{erl_opts, [debug_info]}.

%% No pre_hooks — the NIF is shipped precompiled for Windows/Linux x86_64/macOS.
%% On other platforms (e.g. ARM) build manually: cd native/sied && cargo build --release
%%   then cp native/sied/target/release/libsied.so priv/sied.so

{deps, []}.

{shell, [
    {apps, [sied]}
]}.
