-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
111 lines (97 loc) · 2.13 KB
/
Cargo.toml
File metadata and controls
111 lines (97 loc) · 2.13 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[workspace]
members = [".", "crates/test_data_gen"]
resolver = "2"
[package]
name = "sql-splitter"
version = "1.13.1"
edition = "2021"
authors = ["Helge Sverre <helge.sverre@gmail.com>"]
description = "High-performance CLI tool for splitting large SQL dump files into individual table files"
license = "MIT"
repository = "https://github.com/helgesverre/sql-splitter"
homepage = "https://github.com/helgesverre/sql-splitter"
keywords = ["sql", "mysql", "dump", "split", "cli"]
categories = ["command-line-utilities", "database"]
exclude = [
"website/",
"docs/",
"scripts/",
"docker/",
"skills/",
"man/",
"tests/realworld/",
"tests/data/generated/",
"tests/fixtures/generated/",
]
[[bin]]
name = "sql-splitter"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
glob = "0.3"
regex = "1"
memchr = "2"
once_cell = "1"
ahash = "0.8"
anyhow = "1"
flate2 = "1"
bzip2 = "0.6"
xz2 = "0.1"
zstd = "0.13"
indicatif = "0.18"
rand = "0.9"
smallvec = { version = "1.13", features = ["union"] }
chrono = "0.4"
tempfile = "3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml_ng = "0.10"
fake = { version = "4.4", features = ["derive"] }
sha2 = "0.10"
hex = "0.4"
duckdb = { version = "1.4", features = ["bundled"] }
dirs = "6"
rustyline = "17"
schemars = "1"
[dev-dependencies]
criterion = { version = "0.8", features = ["html_reports"] }
tempfile = "3"
test_data_gen = { path = "crates/test_data_gen" }
jsonschema = "0.41"
[dev-dependencies.clap_mangen]
version = "0.2"
[[bench]]
name = "parser_bench"
harness = false
[[bench]]
name = "writer_bench"
harness = false
[[bench]]
name = "e2e_bench"
harness = false
[[bench]]
name = "convert_bench"
harness = false
[[bench]]
name = "redact_bench"
harness = false
[[bench]]
name = "sample_bench"
harness = false
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
debug = false
incremental = false
strip = true
# Profile for cargo-dist builds
[profile.dist]
inherits = "release"
# Profile for flamegraph/samply profiling (release + debug symbols)
[profile.profiling]
inherits = "release"
debug = true
strip = false