#![allow(
clippy::boxed_local,
clippy::cast_lossless,
clippy::collapsible_if,
clippy::let_and_return,
clippy::map_entry,
clippy::match_as_ref,
clippy::match_bool,
clippy::needless_pass_by_value,
clippy::new_without_default,
clippy::or_fun_call,
clippy::ptr_arg,
clippy::too_many_arguments,
clippy::unreadable_literal,
clippy::get_unwrap
)]
#[macro_use]
extern crate log;
extern crate regex;
extern crate serde;
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate serde_derive;
extern crate memchr;
#[cfg(feature = "notify")]
extern crate notify;
extern crate syntect;
extern crate time;
extern crate toml;
extern crate xi_rope;
extern crate xi_rpc;
extern crate xi_trace;
extern crate xi_unicode;
#[cfg(feature = "ledger")]
mod ledger_includes {
extern crate fuchsia_zircon;
extern crate fuchsia_zircon_sys;
extern crate mxruntime;
#[macro_use]
extern crate fidl;
extern crate apps_ledger_services_public;
extern crate sha2;
}
#[cfg(feature = "ledger")]
use ledger_includes::*;
pub mod annotations;
pub mod backspace;
pub mod client;
pub mod config;
pub mod core;
pub mod edit_types;
pub mod editor;
pub mod event_context;
pub mod file;
pub mod find;
#[cfg(feature = "ledger")]
pub mod fuchsia;
pub mod index_set;
pub mod layers;
pub mod line_cache_shadow;
pub mod line_ending;
pub mod linewrap;
pub mod movement;
pub mod plugins;
pub mod recorder;
pub mod selection;
pub mod styles;
pub mod syntax;
pub mod tabs;
pub mod view;
#[cfg(feature = "notify")]
pub mod watcher;
pub mod whitespace;
pub mod width_cache;
pub mod word_boundaries;
pub mod rpc;
#[cfg(feature = "ledger")]
use apps_ledger_services_public::Ledger_Proxy;
pub use crate::config::{BufferItems as BufferConfig, Table as ConfigTable};
pub use crate::core::{WeakXiCore, XiCore};
pub use crate::editor::EditType;
pub use crate::plugins::manifest as plugin_manifest;
pub use crate::plugins::rpc as plugin_rpc;
pub use crate::plugins::PluginPid;
pub use crate::syntax::{LanguageDefinition, LanguageId};
pub use crate::tabs::test_helpers;
pub use crate::tabs::{BufferId, BufferIdentifier, ViewId};