mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-08 12:28:32 +02:00
Snippet tools
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/target
|
||||
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "snippets-amalgamation"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.100"
|
||||
qdrant-client = { git = "https://github.com/qdrant/rust-client", branch = "master" }
|
||||
tokio = { version = "1.48.0", features = ["rt-multi-thread", "macros"] }
|
||||
@@ -0,0 +1,14 @@
|
||||
// %mods%
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
for arg in std::env::args().skip(1) {
|
||||
match arg.as_str() {
|
||||
// %cases%
|
||||
_ => {
|
||||
eprintln!("Unknown argument: {}", arg);
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user