#deno #template #bindings #create

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

#310 in Template engine

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

~1–1.8MB
~38K SLoC