singbox_ffi 0.1.4
singbox_ffi: ^0.1.4 copied to clipboard
Flutter FFI bindings and platform packaging for embedding the sing-box libbox core from Dart.
0.1.4 #
- Add structured error metadata with
SingboxErrorKindand optional error codes onSingboxException. - Add native service state snapshots through
SingboxService.state(). - Make repeated native stop calls for the same handle idempotent.
- Add desktop system proxy status, enable, and restore support through the libbox system proxy callbacks and Dart wrapper APIs.
0.1.2 #
- Add Dart-facing log draining and streaming APIs.
- Add native
sb_drain_logsandsb_clear_logsABI functions backed by libbox's started-service log subscription. - Add
SingboxLogEvent,SingboxService.logs(),drainLogs(), andclearLogs()for UI log panels.
0.1.1 #
- Improve the pub.dev README with clearer install, artifact, API, and feature coverage documentation.
- Add pub.dev package metadata and a recognized
example/main.dart. - Add Dartdoc comments for the public FFI wrapper API.
0.1.0 #
- Package the Dart FFI bindings as the
singbox_ffiFlutter FFI plugin. - Add platform scaffolding for Windows, Linux, macOS, Android, and iOS native artifacts.
- Add
SingboxFfi.openBundled()as the Flutter plugin default loader. - Add
SingboxFfi.openDefault()for resilient dynamic library lookup. - Link iOS static archives for
DynamicLibrary.process()and support Darwin framework/xcframework artifacts. - Document static/process mode requirements for plugin-linked native symbols.