native_library library
Compatibility library for the pre-migration import path
package:html_to_markdown_ffi/native_library.dart.
The spec 064 zuraffa migration moved the loader seam —
HtmNativeLibraries, HtmNativeLibraryResolver and NativeLibrary —
to html_to_markdown_ffi_platform and dropped this URI, so a plain
pub upgrade inside ^1.2.0 broke consumers at analyze time
(arrrrny/zuraffa#2020). The seam is unchanged in the platform package;
this library restores the original import path for it.
Classes
- HtmNativeLibraries
- Resolver seam (spec 064): a host can register a resolver that points at a prebuilt binary, so the preserved loading chain below can find it without the app package shipping binaries itself. Purely additive — the pre-migration resolution steps are unchanged and keep precedence as documented in NativeLibrary.
- NativeLibrary
Typedefs
- HtmNativeLibraryResolver = String? Function()
- Returns the absolute path of a native library the resolver provides, or null when it does not apply to the running platform.