-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (49 loc) · 1.47 KB
/
Cargo.toml
File metadata and controls
58 lines (49 loc) · 1.47 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
[package]
name = "cargo-rustapi"
description = "The official CLI tool for the RustAPI framework. Scaffold new projects, run development servers, and manage database migrations."
documentation = "https://docs.rs/cargo-rustapi"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
keywords = ["web", "framework", "api", "cli", "scaffold"]
categories = ["command-line-utilities", "development-tools"]
rust-version.workspace = true
readme = "README.md"
[[bin]]
name = "cargo-rustapi"
path = "src/main.rs"
[dependencies]
# CLI
clap = { workspace = true }
dialoguer = { workspace = true }
indicatif = { workspace = true }
console = { workspace = true }
# File system
walkdir = "2.5"
toml_edit = "0.22"
notify = "7.0"
notify-debouncer-mini = "0.7"
# Async
tokio = { workspace = true, features = ["process", "fs", "macros", "rt-multi-thread", "time", "signal", "sync"] }
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = "0.9"
toml = "0.8"
# HTTP client for fetching remote specs
reqwest = { version = "0.12", features = ["json"], default-features = false, optional = true }
# Utilities
thiserror = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
anyhow = "1.0"
[dev-dependencies]
tempfile = "3.26"
assert_cmd = "2.0"
predicates = "3.1"
[features]
default = ["remote-spec", "replay"]
remote-spec = ["dep:reqwest"]
replay = ["dep:reqwest"]