crates-io-cli 4.0.3

Interact with crates.io from the command-line
//! If you are seeing this, than you see a very old way of doing things, prior
//! to 'async' being a keyword, and while all async was in its infancy.
//! Even though it would be nice to see how that code would look nowadays, I
//! would rather solve new problems than changing existing solutions, despite them
//! being pretty complex for what they do.
#[cfg(unix)]
mod interactive;
#[cfg(unix)]
mod structs;

mod error;
pub use self::error::Error;

#[cfg(unix)]
pub use self::interactive::handle_interactive_search;

#[cfg(windows)]
pub fn handle_interactive_search() -> Result<(), Error> {
    println!("Interactive search is not supported. Use --help to learn about alternatives.");
    std::process::exit(3);
}