Skip to content

Installation

Using as a dependency

Add this to your Cargo.toml:

[dependencies]
globalsearch = "0.2.0"

Alternatively, you can add the dependency directly from the command line: cargo add globalsearch

You can also get the latest version from the main branch of GitHub by adding the following line to your Cargo.toml:

[dependencies]
globalsearch = { git = "https://github.com/GermanHeim/globalsearch-rs" }

Building from source

You can also build globalsearch from source, following these steps:

  1. If you haven’t already, install Rust toolchain using rustup.

  2. Clone the repository and navigate to the project directory:

    Terminal window
    git clone https://github.com/GermanHeim/globalsearch-rs.git
    cd globalsearch-rs
  3. Build the project:

    Terminal window
    cargo build --release

By doing this you have successfully built globalsearch.