Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions etc/gen_atlas_search/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
149 changes: 149 additions & 0 deletions etc/gen_atlas_search/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions etc/gen_atlas_search/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "gen_atlas_search"
version = "0.1.0"
edition = "2024"

[dependencies]
convert_case = "0.8.0"
prettyplease = "0.2.36"
proc-macro2 = "1.0.97"
quote = "1.0.40"
serde = { version = "1.0.219", features = ["derive"] }
serde_yaml = "0.9.34"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been unmaintained for a while now but the alternatives aren't yet settled and it works fine for what's needed here.

syn = { version = "2.0.105", features = ["full", "printing"] }
9 changes: 9 additions & 0 deletions etc/gen_atlas_search/regenerate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -o errexit
set -x

gen_path="$(dirname $0)/../../src/atlas_search/gen.rs"

cargo run > ${gen_path}
rustfmt +nightly --unstable-features ${gen_path}
Loading