Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ backtrace = "0.3.76"
blake3 = "1.8.5"
bytes = "1.12"
cargo_toml = "1.0"
cargo_metadata = "0.23.1"
chrono = { version = "0.4.45", default-features = false }
chrono-tz = { version = "0.10", default-features = false }
clap = { version = "4.6", features = ["deprecated"] }
Expand Down Expand Up @@ -157,6 +158,7 @@ tracing-subscriber = "0.3"
tracing-test = "0.2"
trybuild = { version = "1", features = ["diff"] }
url = "2"
wait-timeout = { version = "0.2", default-features = false }

[profile.dev.package]
insta.opt-level = 3
Expand Down
4 changes: 4 additions & 0 deletions cot-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ workspace = true
[dependencies]
anyhow.workspace = true
cargo_toml.workspace = true
cargo_metadata.workspace = true
chrono.workspace = true
clap = { workspace = true, features = ["derive", "env", "wrap_help", "string"] }
clap_complete.workspace = true
Expand All @@ -41,6 +42,9 @@ quote.workspace = true
syn.workspace = true
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["env-filter"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
wait-timeout.workspace = true

[dev-dependencies]
cot-cli = { path = ".", features = ["test_utils"] }
Expand Down
4 changes: 4 additions & 0 deletions cot-cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ use std::path::PathBuf;
use clap::{Args, Parser, Subcommand};
use clap_verbosity_flag::Verbosity;

pub const PACKAGE_SHORT_FLAG: &str = "-p";
pub const RELEASE_FLAG: &str = "--release";
pub const BINARY_FLAG: &str = "--bin";

#[derive(Debug, Parser)]
#[command(
name = "cot",
Expand Down
1 change: 1 addition & 0 deletions cot-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pub mod args;
pub mod handlers;
pub mod migration_generator;
pub mod new_project;
pub mod project;
#[cfg(feature = "test_utils")]
pub mod test_utils;
mod utils;
Loading
Loading