#deno #template #bindings

flowscripter_template_deno_rust_library

Project template for a Rust library with Deno FFI bindings

9 stable releases

1.0.15 Oct 3, 2022
1.0.14 Sep 20, 2022
1.0.8 Jun 9, 2022
1.0.7 May 16, 2022

#221 in Template engine

22 downloads per month

MIT license

5KB

template-deno-rust-library

version build coverage rust dependencies deno dependencies license: MIT

Project template for a Rust library with Deno FFI bindings.

Project Template Usage

  1. Use as a template to create a new repository.
  2. Update links and references in README.md.

Deno Module Usage

import { world } from "https://raw.githubusercontent.com/flowscripter/template-deno-rust-library/v1.0.7/mod.ts";

world();

Development

Install deno_bindgen: deno install -Afq -n deno_bindgen https://deno.land/x/deno_bindgen/cli.ts

Build: deno_bindgen

Test: cargo test && deno test -A --unstable

Lint: cargo fmt && deno fmt

Documentation

Overview

classDiagram
    Foo <|--  Bar

License

MIT © Flowscripter

Dependencies

~0.8–1.5MB
~34K SLoC