Skip to content

Commit 24f5ec2

Browse files
committed
Loosened dependency version
1 parent f08487f commit 24f5ec2

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

Cargo.toml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[workspace]
22
members = [
33
".",
4-
"rorm-cli-lib",
54
"rorm-declaration",
65
"rorm-sql",
76
]
87

98
[package]
109
name = "rorm-cli"
11-
version = "0.5.0"
10+
version = "0.6.0"
1211
edition = "2021"
1312
authors = ["myOmikron <[email protected]>"]
1413
repository = "https://github.com/rorm-orm/rorm-cli"
@@ -19,40 +18,54 @@ documentation = "https://docs.rorm.rs"
1918
license = "MIT"
2019
description = "The cli tool for managing rorm applications."
2120

21+
[lib]
22+
path = "src/lib.rs"
23+
name = "rorm_cli"
24+
25+
[[bin]]
26+
name = "rorm-cli"
27+
path = "src/main.rs"
28+
2229
[dependencies]
2330
# Internal dependencies
2431
rorm-declaration = { version = "~0.3", path = "rorm-declaration" }
2532
rorm-sql = { version = "~0.5", path = "rorm-sql", features = ["sqlite", "mysql", "postgres"] }
2633

2734
# CLI parsing tool
28-
clap = { version = "~4.0", features = ["derive"] }
35+
clap = { version = "~4", features = ["derive"] }
2936

3037
# Serialization library
31-
serde = { version = "~1.0", features = ["derive"] }
32-
serde_json = { version = "~1.0" }
33-
toml = { version = "~0.5" }
38+
serde = { version = "~1", features = ["derive"] }
39+
serde_json = { version = "~1" }
40+
toml = { version = "~0.7" }
3441

3542
# Generic error package
36-
anyhow = { version = "~1.0" }
43+
anyhow = { version = "~1" }
3744

3845
# Regex
39-
regex = { version = "~1.7" }
46+
regex = { version = "~1" }
4047

4148
# Lazy implementation
42-
once_cell = { version = "~1.17" }
49+
once_cell = { version = "~1" }
4350

4451
# SQL database abstraction
4552
sqlx = { version = "~0.6", features = ["mysql", "postgres", "sqlite", "any", "chrono", "runtime-tokio-rustls"] }
4653

4754
# Runtime
48-
tokio = { version = "~1.24", features = ["macros"] }
55+
tokio = { version = ">=1.23.1", features = ["macros"] }
4956

5057
# Enum simplification
5158
strum = { version = "~0.24" }
5259

5360
# Read passwords from cli
54-
rpassword = { version = "~7.2" }
61+
rpassword = { version = "~7" }
5562

5663
[dev-dependencies]
5764
# Creating and clearing temporary directories
5865
temp-dir = { version = "~0.1" }
66+
67+
[profile.fat-lto]
68+
inherits = "release"
69+
opt-level = "s"
70+
lto = "fat"
71+
strip = true

0 commit comments

Comments
 (0)