zed/crates/db
Marshall Bowers 81475ac4cd
paths: Replace lazy_static! with OnceLock (#13213)
This PR replaces the `lazy_static!` usages in the `paths` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

The paths are now exposed as accessor functions that reference a private
static value.

Release Notes:

- N/A
2024-06-18 12:22:37 -04:00
..
src paths: Replace lazy_static! with OnceLock (#13213) 2024-06-18 12:22:37 -04:00
Cargo.toml Extract paths out of util (#13182) 2024-06-17 19:27:42 -04:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00
README.md Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00

Building Queries

First, craft your test data. The examples folder shows a template for building a test-db, and can be ran with cargo run --example [your-example].

To actually use and test your queries, import the generated DB file into https://sqliteonline.com/