libedax4dart 4.0.1 icon indicating copy to clipboard operation
libedax4dart: ^4.0.1 copied to clipboard

Dart wrapper for libedax. With using libedax4dart, you can execute functions equivalent to edax.

libedax4dart #

Dart wrapper for libedax.
With using libedax4dart, you can execute functions equivalent to edax commands.

Usage #

  1. Add libedax4dart under dependencies in your pubspec.yaml.
  2. Add your libedax assets in the path which you like.
    If you don't have yours, you can also download from here.
  • (Required) dynamic library
    • macos: libedax.universal.dylib
    • windows: libedax-x64.dll
    • linux: libedax.so
  • (Optional) data for edax
    • book.dat
    • eval.dat
  1. With using LibEdax, you can run edax commands !

Real World Example #

Document #

Reference #


Development #

Dart CI codecov

commands #

run example

cd example && dart pub get && cd ..
dart example/example.dart

format

# fix with line length 80 for pana, although I don't like.
# See: https://github.com/dart-lang/dart_style/issues/918
dart format --fix .

test

dart run test .

analyze

dart analyze .

dart fix --apply # auto fix

pana

dart run pana

document

dart doc . && open doc/api/index.html

change libedax bin

# After you edit .libedax-version, run this.
# See: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
libedax_build_command="make universal_osx_libbuild" dst="." ./scripts/build_libedax.sh

generate bindings

# Before this, you must run build_libedax.sh.
dart run ffigen --config ffigen.yaml --verbose severe && dart format --fix .

reference #

1
likes
130
pub points
47%
popularity

Publisher

verified publisher icondone-sensuikan1973.com

Dart wrapper for libedax. With using libedax4dart, you can execute functions equivalent to edax.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

GPL-3.0 (LICENSE)

Dependencies

ffi, meta

More

Packages that depend on libedax4dart