1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2025 The syntaqlite Authors. All rights reserved.
// Licensed under the Apache License, Version 2.0.
//! Example: build a CLI binary that pre-specifies a dialect.
//!
//! Implementing [`syntaqlite_cli::CliApp`] lets a downstream crate ship its
//! own `[[bin]]` (e.g. `syntaqlite-perfetto`) without compiling a shared
//! library and passing it via `--dialect` at runtime.
//!
//! Run with: `cargo run --example cli_wrapper -- --help`
use AnyDialect;
use ;
;