1.0.26 • Published 9 months ago

@flowscripter/template-bun-rust-library v1.0.26

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

template-bun-rust-library

version build coverage license: MIT

Project template for a Rust library with Bun FFI bindings.

Template Usage

Create a new Bun project using this as a template:

bun create @flowscripter/template-bun-rust-library

Bun Module Usage

Add the module:

bun add @flowscripter/template-bun-rust-library

Use the module:

import { world } from "@flowscripter/template-bun-rust-library";

world();

Development

Install dependencies:

bun install

Test:

cargo test

cargo build --release && bun test

NOTE: The following tasks use Deno as it excels at these and Bun does not currently provide such functionality:

Format:

deno fmt

Lint:

cargo fmt && deno lint index.ts src/ tests/

Generate HTML API Documentation:

deno doc --html --name=template-bun-rust-library index.ts

Documentation

Overview

Sample mermaid diagram to test rendering in markdown:

classDiagram
    Foo <|-- Bar

API

Link to auto-generated API docs:

API Documentation

License

MIT © Flowscripter

1.0.26

9 months ago

1.0.25

9 months ago

1.0.24

9 months ago

1.0.23

9 months ago

1.0.22

9 months ago

1.0.21

9 months ago

1.0.20

9 months ago

1.0.19

9 months ago

1.0.18

9 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.9

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago