resources_package 0.1.0

Macro that allows you to package files inside your libraries or executables.
docs.rs failed to build resources_package-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Build Status

This crate allows you to package several files in your executable.

This is similar to include_bin! but easier to use when you have a lot of files.

Usage:

#![feature(phase)]

#[phase(plugin)]
extern crate resources_package;
extern crate resources_package_package;

static package: resources_package_package::Package = resources_package!([
    "path/to/resources",
    "other/path/to/resources"
]);

fn main() {
    for &(ref name, content) in package.iter() {
        println!("{}", name.display());
    }
}