chore: update exec crate to use std::time instead of chrono (#952)

When I originally wrote `elapsed.rs`, I realized we were using both
`std::time` and `chrono` with no real benefit of having both. We should
try to keep the `exec` subcommand trim (as it also buildable as a
standalone executable), so this helps tighten things up.
This commit is contained in:
Michael Bolin
2025-05-16 08:14:50 -07:00
committed by GitHub
parent 070499f534
commit 30cbfdfa87
4 changed files with 36 additions and 37 deletions

View File

@@ -7,11 +7,10 @@ edition = "2024"
workspace = true
[dependencies]
chrono = { version = "0.4.40", optional = true }
clap = { version = "4", features = ["derive", "wrap_help"], optional = true }
codex-core = { path = "../core" }
[features]
# Separate feature so that `clap` is not a mandatory dependency.
cli = ["clap"]
elapsed = ["chrono"]
elapsed = []