jj/cli/src
Yuya Nishihara 46d5555be4 cleanup: leverage trait upcasting, delete as_any*()
This patch also adds .downcast*() wrappers to prevent misuse of as &Any casting.
The compiler wouldn't help detect &Arc<T> as &Any, for example.

https://blog.rust-lang.org/2025/04/03/Rust-1.86.0/#trait-upcasting
2025-09-20 01:22:47 +00:00
..
commands cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
config templates: ensure unique prefixes in format_gerrit_change_id_trailer 2025-09-16 19:36:01 +00:00
merge_tools cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
cleanup_guard.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
cli_util.rs cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
command_error.rs cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
commit_templater.rs merge: remove Default from MergeOptions 2025-09-14 03:55:09 +00:00
complete.rs complete: ignore shell quotes when parsing command line 2025-09-17 02:00:43 +00:00
config-schema.json cli: basic jj gerrit upload implementation 2025-09-16 02:15:09 +00:00
config.rs cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
description_util.rs squash: add -A/-B/-d options 2025-08-19 11:38:55 +00:00
diff_util.rs cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
formatter.rs formatter: migrate away from .with_label*() functions 2025-09-07 08:17:06 +00:00
generic_templater.rs templater: add serialization support for config::AnnotatedValue type 2025-08-25 05:52:46 +00:00
git_util.rs formatter: move labeled() to extension trait, add owned version 2025-09-07 08:17:06 +00:00
graphlog.rs cli: remove GraphStyle::is_ascii() which has been inlined in templates 2025-06-22 01:16:59 +00:00
lib.rs cli: make git support optional 2025-01-08 22:02:21 +00:00
main.rs cli: replace ExitCode by u8 2025-05-17 05:45:59 +00:00
movement_util.rs cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
operation_templater.rs templates: improve rustdocs 2025-09-02 02:19:54 +00:00
progress.rs cleanup: remove unneeded lifetime capturing from snapshot_progress() 2025-03-08 01:16:56 +00:00
revset_util.rs cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
template.pest templates: support string patterns in template language 2025-09-02 02:19:54 +00:00
template_builder.rs template: add string replace method 2025-09-19 09:01:07 +00:00
template_parser.rs templates: support string patterns in template language 2025-09-02 02:19:54 +00:00
templater.rs formatter: migrate away from .with_label*() functions 2025-09-07 08:17:06 +00:00
text_util.rs formatter: make push/pop_label() never fail 2025-09-05 03:40:29 +00:00
time_util.rs cleanup: replace once_cell::sync::Lazy by std::sync::LazyLock 2025-07-07 14:24:25 +00:00
ui.rs ui: switch to std::io::pipe() 2025-09-19 09:41:32 +00:00