-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (57 loc) · 1.57 KB
/
Cargo.toml
File metadata and controls
71 lines (57 loc) · 1.57 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
[package]
name = "rorm-cli"
version = "0.9.0"
edition = "2021"
authors = ["myOmikron <git@omikron.dev>"]
repository = "https://github.com/rorm-orm/rorm-cli"
keywords = ["cli", "database", "migrator", "orm"]
categories = ["command-line-utilities", "database"]
homepage = "https://rorm.rs"
documentation = "https://docs.rorm.rs"
license = "MIT"
description = "The cli tool for managing rorm applications."
[dependencies]
# Internal dependencies
rorm-declaration = { version = "~0.4", path = "../rorm-declaration" }
rorm-db = { version = "~0.11", path = "../rorm-db" }
# CLI parsing tool
clap = { version = "~4", features = ["derive"] }
# Serialization library
serde = { version = "~1", features = ["derive"] }
serde_json = { version = "~1" }
toml = { version = "~0.7" }
# Error handling for binaries
anyhow = { version = "~1" }
# Error handling for libraries
thiserror = { version = "~2" }
# Regex
regex = { version = "~1" }
# Lazy implementation
once_cell = { version = "~1" }
# Runtime
tokio = { version = ">=1.23.1", features = ["macros", "rt"] }
# Read passwords from cli
rpassword = { version = "~7" }
tracing = { version = "~0.1" }
tracing-subscriber = { version = "0.3", optional = true }
[dev-dependencies]
# Creating and clearing temporary directories
temp-dir = { version = "~0.1" }
[features]
default = [
"bin",
"sqlite",
"postgres",
]
# Feature required to use rorm-cli as standalone executable
bin = [
"tracing-subscriber",
]
sqlite = [
"rorm-db/sqlite",
"rorm-declaration/sqlite",
]
postgres = [
"rorm-db/postgres",
"rorm-declaration/postgres",
]