#![cfg_attr(docsrs, feature(doc_cfg))]
mod error;
pub use error::{Error, Result};
pub mod argslice;
pub mod argument;
pub mod catalog;
pub mod check_args;
pub mod cluster_cmd_strings;
pub mod cmd_strings;
pub mod command;
pub mod ext;
pub mod frame;
pub mod i_resp_serializable;
pub mod key_spec;
pub mod length;
pub mod options;
pub mod read;
pub mod resp_memory_writer;
pub mod session_parse_state;
pub use argslice::{ArgSlice, ArgSliceVector, DEFAULT_MAX_ITEM_NUM};
pub use argument::{
ArgumentBase, RespCommandArgument, RespCommandArgumentFlags, RespCommandArgumentType,
};
pub use catalog::{
CmdEntry, RespAclCategories, RespCommandFlags, RespCommandsInfo, RespCommandsTables,
SimpleRespCommandInfo, SimpleRespKeySpec, SimpleRespKeySpecBeginSearch,
SimpleRespKeySpecFindKeys, children_of, commands_for_category, expand_for_acls,
get_resp_command_name, is_no_auth, normalize_for_acls, populate_simple_command_info,
try_fast_get_resp_command_info, try_get_by_cs_name, try_get_commandsfor_acl_category,
try_get_resp_command_info, try_get_resp_command_info_by_cmd, try_get_resp_command_info_by_name,
try_get_resp_command_names, try_get_resp_commands_info, try_get_resp_commands_info_count,
try_get_resp_sub_commands_info, try_get_simple_resp_command_info, try_import_resp_commands_data,
};
pub use command::{
FIRST_DATA_COMMAND, LAST_DATA_COMMAND, LAST_VALID_COMMAND, RespCommand, is_cluster_sub_command,
is_data_command, is_legal_on_range_index, is_legal_on_vector_set, is_range_index_command,
is_read_only, is_vector_set_command, is_write_only, one_if_read, one_if_write,
};
pub use ext::{MAX_ERROR_MSG_LEN, RespSliceExt, RespVecExt, sanitize_error_str};
pub use frame::{ParsedFrame, parse_resp_frame};
pub use i_resp_serializable::IRespSerializable;
pub use key_spec::{
ALL_FLAGS, BeginSearchMethod, FindKeysMethod, KeySpecificationFlags, RespCommandKeySpecification,
};
pub use options::{
ExistOptions, ExpirationOption, ExpirationWithOption, ExpireOption, SortedSetAddOption,
SortedSetAggregateType, equals_ignore_case, expiration_option_from_token,
expire_option_from_token, try_get_exist_options, try_get_expiration_option,
try_get_expire_option, try_get_sorted_set_add_option, try_get_sorted_set_aggregate_type,
};
pub use read::{MAX_ARGUMENT_LENGTH_BYTES, ReplyError, parse_bulk_reply, parse_simple_reply};
pub use resp_memory_writer::{
Resp2, Resp3, RespBuffer, RespMemoryWriter, RespProtocol, RespWriter, format_double,
};
pub use session_parse_state::{INLINE_PARAMS, SessionParseState};