forked from Odonno/surrealdb-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (63 loc) · 2.03 KB
/
Cargo.toml
File metadata and controls
69 lines (63 loc) · 2.03 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
[package]
name = "surrealdb-migrations"
version = "2.4.0"
description = "An awesome SurrealDB migration tool, with a user-friendly CLI and a versatile Rust library that enables seamless integration into any project."
authors = ["David Bottiau"]
repository = "https://github.com/Odonno/surrealdb-migrations/"
documentation = "https://docs.rs/surrealdb-migrations/"
readme = "readme.md"
license = "MIT"
keywords = ["surrealdb", "migrations", "cli"]
categories = ["command-line-utilities"]
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4.42"
chrono-human-duration = "0.1.1"
clap = { version = "4.5.53", features = ["derive"] }
cli-table = "0.5.0"
color-eyre = "0.6.5"
convert_case = { version = "0.10.0", optional = true }
diffy = "0.4.2"
fs_extra = "1.3.0"
futures = "0.3.31"
hex = "0.4.3"
include_dir = "0.7.4"
itertools = "0.14.0"
lexicmp = "0.2.0"
names = { version = "0.14.0", default-features = false, optional = true }
owo-colors = { version = "4.2.3", features = ["supports-colors"] }
regex-lite = { version = "0.1.8", optional = true }
rust-ini = "0.21.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
sha2 = "0.10.9"
sqlparser = { version = "0.52.0", optional = true }
surrealdb = { version = "2.4.0", features = ["protocol-http", "jwks"] }
tokio = { version = "1.48.0", features = ["macros"] }
[dev-dependencies]
assert_cmd = "2.1.1"
assert_fs = "1.1.3"
dir-diff = "0.3.3"
insta = { version = "1.44.3", features = ["filters", "ron"] }
itertools = "0.14.0"
names = { version = "0.14.0", default-features = false }
predicates = "3.1.3"
pretty_assertions = "1.4.1"
regex = "1.12.2"
serial_test = "3.2.0"
tokio-test = "0.4.4"
[features]
default = ["scaffold"]
branching = ["dep:names"]
scaffold = ["dep:regex-lite"]
scaffold-sql = ["scaffold", "dep:convert_case", "dep:sqlparser"]
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
[profile.release]
lto = true
strip = true
opt-level = 'z'
panic = 'abort'
codegen-units = 1