arti 0.0.1 copy "arti: ^0.0.1" to clipboard
arti: ^0.0.1 copied to clipboard

Arti (A Rust Tor Implementation) in a Dart package. Like Foundation-Devices/tor but for commandline applications, too (and original!)

arti #

Setup #

Native assets #

Native assets is currently an experimental feature that is available in Flutter's master branch behind an optional Flutter config:

flutter config --enable-native-assets

See this tracking issue and this milestone for the eventual inclusion of native assets in a release.

Quick setup #

git clone git@github.com:ManyMath/darti
cd darti
git submodule update --init --recursive
dart pub get
dart --enable-experiment=native-assets run example/darti_example.dart

and wait a moment as the native assets are built.

Development #

  • To generate arti-ffi_bindings_generated.dart Dart bindings for C:
    dart --enable-experiment=native-assets run ffigen --config ffigen.yaml
    
  • If bindings are generated for a new (not previously supported/included in lib/arti_base.dart) function, a wrapper must be written for it by hand (see: artiStart, artiClientBootstrap).
1
likes
130
points
34
downloads

Publisher

verified publishercypherstack.com

Weekly Downloads

Arti (A Rust Tor Implementation) in a Dart package. Like Foundation-Devices/tor but for commandline applications, too (and original!)

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

ffi, ffigen, native_assets_cli, native_toolchain_rust_mirror, path

More

Packages that depend on arti