Skip to content

Full-text search in WASM

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

tantaraio/tantara

Repository files navigation

tantara

Full-text search built with Rust and WebAssembly🦀🕸

Quick Start

Step 1: Install Rustup

Install Rustup. We'll use it to install dependencies. If you already installed Rustup, you can update to the latest version.

rustup update

Step 2: Install Development Tools

# Install Clippy
rustup component add clippy

# Install rustfmt
rustup component add rustfmt

Available Scripts

🛠️ Build with yarn build

It runs wasm-pack build to create necessary files for publishing a npm package.

🧪 Test in Headless Browsers with yarn test

It runs the end-to-end test with headless browsers and Node.js. The browsers are:

  • Chrome
  • Firefox
  • Safari

You'll need to have the browsers installed in your machine to run the test script.

🎁 Publish to npm with yarn publish

It creates a tarball and publishes on npm.

🔬 Lint with yarn lint

It runs Clippy to lint and fix the source code.

📝 Format with yarn format

It runs rustfmt to format Rust code according to community style guidelines.

🔋 Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • console_error_panic_hook for logging panic messages to the developer console.
  • wee_alloc, an allocator optimized for small code size.
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you

📚 Read this template tutorial & other wasm-pack tutorials online to learn more about wasm-pack.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Full-text search in WASM

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published