2023-12-10 08:48:18 +01:00
|
|
|
#![cfg_attr(feature = "benchmark", feature(test))]
|
2023-01-14 14:56:24 -08:00
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
#![allow(non_upper_case_globals)]
|
2024-03-09 04:44:27 -06:00
|
|
|
#![allow(unknown_lints)]
|
2023-12-06 18:36:13 +01:00
|
|
|
#![allow(unstable_name_collisions)]
|
2024-03-09 04:36:11 -06:00
|
|
|
#![allow(clippy::assigning_clones)]
|
2023-03-05 00:54:17 -06:00
|
|
|
#![allow(clippy::bool_assert_comparison)]
|
2023-10-08 23:22:27 +02:00
|
|
|
#![allow(clippy::box_default)]
|
|
|
|
#![allow(clippy::collapsible_if)]
|
|
|
|
#![allow(clippy::comparison_chain)]
|
2023-03-05 00:54:17 -06:00
|
|
|
#![allow(clippy::derivable_impls)]
|
2023-10-08 19:08:46 +02:00
|
|
|
#![allow(clippy::field_reassign_with_default)]
|
2023-12-29 12:17:22 -08:00
|
|
|
#![allow(clippy::get_first)]
|
2023-10-08 23:22:27 +02:00
|
|
|
#![allow(clippy::if_same_then_else)]
|
2024-03-09 04:36:11 -06:00
|
|
|
#![allow(clippy::incompatible_msrv)]
|
2024-01-12 14:07:54 +01:00
|
|
|
#![allow(clippy::len_without_is_empty)]
|
2023-10-08 19:08:46 +02:00
|
|
|
#![allow(clippy::manual_is_ascii_check)]
|
2023-10-08 23:22:27 +02:00
|
|
|
#![allow(clippy::mut_from_ref)]
|
2023-10-08 19:08:46 +02:00
|
|
|
#![allow(clippy::needless_return)]
|
2024-01-12 14:07:54 +01:00
|
|
|
#![allow(clippy::new_without_default)]
|
2023-04-18 12:53:32 +02:00
|
|
|
#![allow(clippy::option_map_unit_fn)]
|
2023-04-21 20:56:15 +02:00
|
|
|
#![allow(clippy::ptr_arg)]
|
2023-10-08 23:22:27 +02:00
|
|
|
#![allow(clippy::redundant_slicing)]
|
|
|
|
#![allow(clippy::too_many_arguments)]
|
2023-10-08 19:08:46 +02:00
|
|
|
#![allow(clippy::uninlined_format_args)]
|
2023-01-14 14:56:24 -08:00
|
|
|
|
2024-03-01 21:49:49 +01:00
|
|
|
pub const BUILD_VERSION: &str = env!("FISH_BUILD_VERSION");
|
2023-08-20 15:48:41 +02:00
|
|
|
|
2023-02-26 16:34:03 +01:00
|
|
|
#[macro_use]
|
2024-01-12 13:08:41 +01:00
|
|
|
pub mod common;
|
2023-04-02 16:42:59 +02:00
|
|
|
|
2024-01-12 13:08:41 +01:00
|
|
|
pub mod abbrs;
|
|
|
|
pub mod ast;
|
|
|
|
pub mod autoload;
|
|
|
|
pub mod builtins;
|
|
|
|
pub mod color;
|
|
|
|
pub mod complete;
|
|
|
|
pub mod curses;
|
|
|
|
pub mod editable_line;
|
|
|
|
pub mod env;
|
|
|
|
pub mod env_dispatch;
|
|
|
|
pub mod env_universal_common;
|
|
|
|
pub mod event;
|
|
|
|
pub mod exec;
|
|
|
|
pub mod expand;
|
|
|
|
pub mod fallback;
|
|
|
|
pub mod fd_monitor;
|
|
|
|
pub mod fd_readable_set;
|
|
|
|
pub mod fds;
|
|
|
|
pub mod flog;
|
|
|
|
pub mod fork_exec;
|
|
|
|
pub mod function;
|
|
|
|
pub mod future;
|
|
|
|
pub mod future_feature_flags;
|
|
|
|
pub mod global_safety;
|
|
|
|
pub mod highlight;
|
|
|
|
pub mod history;
|
|
|
|
pub mod input;
|
|
|
|
pub mod input_common;
|
|
|
|
pub mod io;
|
|
|
|
pub mod job_group;
|
2024-03-30 16:10:12 +01:00
|
|
|
pub mod key;
|
2024-01-12 13:08:41 +01:00
|
|
|
pub mod kill;
|
2024-01-07 19:18:15 +01:00
|
|
|
#[allow(non_snake_case)]
|
2024-01-12 13:08:41 +01:00
|
|
|
pub mod libc;
|
|
|
|
pub mod locale;
|
|
|
|
pub mod nix;
|
|
|
|
pub mod null_terminated_array;
|
|
|
|
pub mod operation_context;
|
|
|
|
pub mod output;
|
|
|
|
pub mod pager;
|
2024-03-24 11:00:30 +01:00
|
|
|
pub mod panic;
|
2024-01-12 13:08:41 +01:00
|
|
|
pub mod parse_constants;
|
|
|
|
pub mod parse_execution;
|
|
|
|
pub mod parse_tree;
|
|
|
|
pub mod parse_util;
|
|
|
|
pub mod parser;
|
|
|
|
pub mod parser_keywords;
|
|
|
|
pub mod path;
|
|
|
|
pub mod pointer;
|
|
|
|
pub mod print_help;
|
|
|
|
pub mod proc;
|
|
|
|
pub mod re;
|
|
|
|
pub mod reader;
|
|
|
|
pub mod reader_history_search;
|
|
|
|
pub mod redirection;
|
|
|
|
pub mod screen;
|
|
|
|
pub mod signal;
|
|
|
|
pub mod termsize;
|
|
|
|
pub mod threads;
|
|
|
|
pub mod timer;
|
|
|
|
pub mod tinyexpr;
|
|
|
|
pub mod tokenizer;
|
|
|
|
pub mod topic_monitor;
|
|
|
|
pub mod trace;
|
|
|
|
pub mod universal_notifier;
|
|
|
|
pub mod util;
|
|
|
|
pub mod wait_handle;
|
|
|
|
pub mod wchar;
|
|
|
|
pub mod wchar_ext;
|
|
|
|
pub mod wcstringutil;
|
|
|
|
pub mod wgetopt;
|
|
|
|
pub mod widecharwidth;
|
|
|
|
pub mod wildcard;
|
|
|
|
pub mod wutil;
|
2023-01-15 19:52:08 -08:00
|
|
|
|
2024-01-03 20:57:28 +01:00
|
|
|
#[cfg(test)]
|
2023-03-04 23:49:17 -06:00
|
|
|
mod tests;
|