1#![warn(missing_docs)]
18#![deny(unused_must_use)]
19#![forbid(unsafe_code)]
20
21extern crate self as jj_lib;
27
28#[macro_use]
29pub mod content_hash;
30
31pub mod absorb;
32pub mod annotate;
33pub mod backend;
34pub mod bisect;
35pub mod commit;
36pub mod commit_builder;
37pub mod config;
38mod config_resolver;
39pub mod conflict_labels;
40pub mod conflicts;
41pub mod copies;
42pub mod dag_walk;
43pub mod default_index;
44pub mod default_submodule_store;
45pub mod diff;
46pub mod diff_presentation;
47pub mod dsl_util;
48pub(crate) mod eol;
49pub mod evolution;
50pub mod extensions_map;
51pub mod file_util;
52pub mod files;
53pub mod fileset;
54mod fileset_parser;
55pub mod fix;
56pub mod fmt_util;
57pub mod fsmonitor;
58#[cfg(feature = "git")]
59pub mod git;
60#[cfg(feature = "git")]
61pub mod git_backend;
62#[cfg(feature = "git")]
63mod git_subprocess;
64pub mod gitignore;
65pub mod gpg_signing;
66pub mod graph;
67pub mod hex_util;
68pub mod id_prefix;
69pub mod index;
70pub mod iter_util;
71pub mod local_working_copy;
72pub mod lock;
73pub mod matchers;
74pub mod merge;
75pub mod merged_tree;
76pub mod merged_tree_builder;
77pub mod object_id;
78pub mod op_heads_store;
79pub mod op_store;
80pub mod op_walk;
81pub mod operation;
82#[expect(missing_docs)]
83pub mod protos;
84pub mod ref_name;
85pub mod refs;
86pub mod repo;
87pub mod repo_path;
88pub mod revset;
89mod revset_parser;
90pub mod rewrite;
91#[cfg(feature = "testing")]
92pub mod secret_backend;
93pub mod secure_config;
94pub mod settings;
95pub mod signing;
96pub mod tree_merge;
97pub mod simple_backend;
101pub mod simple_op_heads_store;
102pub mod simple_op_store;
103pub mod ssh_signing;
104pub mod stacked_table;
105pub mod store;
106pub mod str_util;
107pub mod submodule_store;
108#[cfg(feature = "testing")]
109pub mod test_signing_backend;
110pub mod time_util;
111pub mod trailer;
112pub mod transaction;
113pub mod tree;
114pub mod tree_builder;
115pub mod union_find;
116pub mod view;
117pub mod working_copy;
118pub mod workspace;
119pub mod workspace_store;
120
121#[cfg(test)]
122mod tests {
123 use tempfile::TempDir;
124
125 pub fn new_temp_dir() -> TempDir {
128 tempfile::Builder::new()
129 .prefix("jj-test-")
130 .tempdir()
131 .unwrap()
132 }
133}