Skip to content

Add static and shared library support#30

Open
r0chd wants to merge 3 commits intombrubeck:minifrom
r0chd:shared-lib
Open

Add static and shared library support#30
r0chd wants to merge 3 commits intombrubeck:minifrom
r0chd:shared-lib

Conversation

@r0chd
Copy link
Copy Markdown

@r0chd r0chd commented Dec 30, 2025

Adds support for building tree_magic_mini as static and shared libraries with C FFI bindings.

  • Added C FFI wrappers for all public APIs
  • Updated Cargo.toml to build cdylib and staticlib crate types
  • Added Nix package with C header generation via cbindgen and pkg-config support

@r0chd r0chd force-pushed the shared-lib branch 2 times, most recently from 9d01b35 to 80b100e Compare December 30, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant