Skip to main content

Crate dataferry

Crate dataferry 

Source
Expand description

The dataferry command line as a library (0004 §5), so a third party can ship its own binary with extra connectors:

use std::process::ExitCode;

use dataferry::Ferry;

fn main() -> ExitCode {
    Ferry::with_builtins()
        .register(ClickHouse)
        .name("acme-dataferry")
        .main()
}

The builder and the subcommands are the whole stable surface in v0.1. The command functions stay private until the planner and runner types have run on real data.

Re-exports§

pub use dataferry_registry as registry;

Structs§

Ferry
A dataferry command line: a connector registry, a name and a version.

Enums§

Exit
Why dataferry exited.