pub mod connection_manager;
pub mod desktop_protocol;
pub mod ftp_client;
pub mod keychain;
pub mod postgres;
pub mod rdp_client;
pub mod sftp_client;
pub mod ssh;
pub mod tools;
pub mod vnc_client;
pub mod event_bus;
pub use connection_manager::{ConnectionManager, ManagedConnection, ProtocolKind};
pub use desktop_protocol::{
DesktopConnectRequest, DesktopConnectResponse, DesktopKind, DesktopProtocol, FrameUpdate,
RdpConfig, VncConfig,
};
pub use event_bus::CoreEvent;
pub use keychain::{
CredentialKind, delete_password, is_supported, list_accounts, load_password, save_password,
};
pub use postgres::{
ActiveCursor, BROWSER_SESSION_ID, ColumnDetail, ColumnMeta, DbSummary, ExecutionOutcome,
InsertColumnInput, InsertedRow, ObjectType, ObjectTypeKind, PageResult, PgAuthMethod, PgConfig,
PgError, PgPool, PgTlsMode, Relation, RelationKind, Routine, RoutineKind, SchemaContents,
SchemaSummary, Sequence, SshTunnelRef, UpdateOutcome,
};
pub use sftp_client::{
FileEntry, FileEntryType, RemoteFileEntry, SftpAuthMethod, SftpConfig, StandaloneSftpClient,
};
pub use ssh::{
AuthMethod, CommandOutput, HostKeyMismatch, HostKeyStore, HostKeyStoreAccessError,
HostKeyVerificationFailure, PtySession, SshClient, SshConfig,
};
pub use tools::{
DnsAnswer, DnsQuery, GitStatus, ListeningPort, TcpdumpEvent, TcpdumpRegistry, ToolsError,
dns_resolve_local, dns_resolve_remote, git_status, listening_ports,
};
pub fn core_version() -> &'static str {
env!("CARGO_PKG_VERSION")
}