nanobind_add_module(_core STABLE_ABI NB_STATIC src/module.cpp src/redact.cpp)
target_link_libraries(_core PRIVATE secrethider::core)
secrethider_set_warnings(_core)

# Only the extension goes into the wheel (not simdjson/simdutf/re2/abseil headers or libs).
install(TARGETS _core LIBRARY DESTINATION secrethider COMPONENT python_module)
