ssh_commander_core/
lib.rs1pub mod connection_manager;
27pub mod desktop_protocol;
28pub mod ftp_client;
29pub mod keychain;
30pub mod postgres;
31pub mod rdp_client;
32pub mod sftp_client;
33pub mod ssh;
34pub mod tools;
35pub mod vnc_client;
36
37pub mod event_bus;
38
39pub use connection_manager::{ConnectionManager, ManagedConnection, ProtocolKind};
40pub use desktop_protocol::{
41 DesktopConnectRequest, DesktopConnectResponse, DesktopKind, DesktopProtocol, FrameUpdate,
42 RdpConfig, VncConfig,
43};
44pub use event_bus::CoreEvent;
45pub use keychain::{
46 CredentialKind, delete_password, is_supported, list_accounts, load_password, save_password,
47};
48pub use postgres::{
49 ActiveCursor, BROWSER_SESSION_ID, ColumnDetail, ColumnMeta, DbSummary, ExecutionOutcome,
50 InsertColumnInput, InsertedRow, ObjectType, ObjectTypeKind, PageResult, PgAuthMethod, PgConfig,
51 PgError, PgPool, PgTlsMode, Relation, RelationKind, Routine, RoutineKind, SchemaContents,
52 SchemaSummary, Sequence, SshTunnelRef, UpdateOutcome,
53};
54pub use sftp_client::{
55 FileEntry, FileEntryType, RemoteFileEntry, SftpAuthMethod, SftpConfig, StandaloneSftpClient,
56};
57pub use ssh::{
58 AuthMethod, CommandOutput, HostKeyMismatch, HostKeyStore, HostKeyStoreAccessError,
59 HostKeyVerificationFailure, PtySession, SshClient, SshConfig,
60};
61pub use tools::{
62 DnsAnswer, DnsQuery, GitStatus, ListeningPort, TcpdumpEvent, TcpdumpRegistry, ToolsError,
63 dns_resolve_local, dns_resolve_remote, git_status, listening_ports,
64};
65
66pub fn core_version() -> &'static str {
67 env!("CARGO_PKG_VERSION")
68}