1.0.26 • Published 8 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

1.0.25

8 months ago

1.0.24

8 months ago

1.0.23

8 months ago

1.0.22

8 months ago

1.0.21

8 months ago

1.0.20

8 months ago

1.0.19

8 months ago

1.0.18

8 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.9

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago