Crate ergo[][src]

Make rust's ecosystem more ergonomic, therefore more fun!

This crate is in alpha status, please see the github project for more details

https://github.com/rust-crates/ergo

Re-exports

pub extern crate ergo_config;
pub extern crate ergo_fs;
pub extern crate ergo_std;
pub extern crate ergo_sync;
pub extern crate ergo_sys;
pub use ergo_config::*;
pub use ergo_fs::*;
pub use ergo_std::*;
pub use ergo_sync::*;
pub use ergo_sys::*;

Macros

btreemap

Create a BTreeMap from a list of key-value pairs

btreeset

Create a BTreeSet from a list of elements.

ch

Use with channels with ergonomic syntax and panic with helpful error messages when sending/receiving on a channel is invalid.

ch_try

Handle an expression that could be Err and send it over a channel if it is.

convert_args

Macro that converts the keys or key-value pairs passed to another maplit macro. The default conversion is to use the Into trait, if no custom conversion is passed.

forward_to_deserialize_any

Helper macro when implementing the Deserializer part of a new data format for Serde.

hashmap

Create a HashMap from a list of key-value pairs

hashset

Create a HashSet from a list of elements.

indexmap

Create an IndexMap from a list of key-value pairs

indexset

Create an IndexSet from a list of values

lazy_static
select_loop

The static selection macro.

serde_if_integer128

Conditional compilation depending on whether Serde is built with support for 128-bit integers.

take

Take ownership of specific variables.

use_config_from
use_default_config

Functions

deep_copy

Do a deep copy of a directory from one location to another.