Skip to article

searchSDK for Rust

Rust / Cargo 1.98+. 14 normalized web-search adapters and 493 retained native bindings across 13 providers; gateway client.

On this page

Install from source

Package: searchsdk, version 0.1.0-alpha.1. This is an alpha source/local-artifact installation. No public registry release or release tag is assumed.

Get the source
git clone https://github.com/Belweave/searchSDK.git
cd searchSDK
# Record this revision with your application's dependency lock.
git rev-parse HEAD
Application dependency configuration
[dependencies]
searchsdk = { path = "/absolute/path/searchSDK/packages/rust" }
tokio = { version = "=1.53.1", features = ["rt", "macros"] }

Add these entries to your application's Cargo.toml. This uses the source checkout, not a crates.io release. The SDK uses Tokio, Reqwest with rustls, and Serde; retain Cargo.lock.

Supported surface and limits

14 normalized web-search adapters and 493 retained native bindings across 13 providers; gateway client.

  • Native schema models preserve provider fields but are not an exhaustive runtime JSON Schema validator.
  • Keep provider execution on servers; a Cargo build does not establish mobile, browser or WebAssembly support.

Preserve result order, provider-native scores and source provenance. Unknown usage is not zero cost. Cancellation and deadlines cannot undo a request already accepted by a remote system or guarantee exactly-once effects.

Verify without provider keys

Repository checkout · local checks
cargo test --manifest-path packages/rust/Cargo.toml --locked -j 2
cargo clippy --manifest-path packages/rust/Cargo.toml --locked -j 2 -- -D warnings
cargo package --manifest-path packages/rust/Cargo.toml --locked

534 tests, formatting, Clippy, Cargo packaging and a consumer built from the extracted crate.

These are deterministic contract and artifact checks. They do not establish live-provider or account-entitlement verification. Read the package README for precise commands, dependencies and runtime coverage.

Continue in your language