1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
//! **stager** - This crate stages files for packaging //! //! ## Install //! //! ```toml //! [dependencies] //! stager = "0.3" //! ``` //! //! ## Example //! //! [staging][staging] will //! - Read a stage configuration (using `staging::de`) and variables to be substitued using [liquid][liquid]. //! - Transform the configuration and variables into the stager API (`staging::builder`). //! - Transform the builders into distinct actions to be performed on the file system (`staging::action`). //! - Apply these actions to the target directory. //! //! [staging]: https://github.com/crate-ci/stager/blob/master/src/bin/staging/main.rs //! [liquid]: https://shopify.github.io/liquid/ //! //! ### Packaging Systems //! //! - [`cargo-tarball`][tarball]: Tarball a Rust projct for github releases. //! //! [tarball]: https://github.com/crate-ci/cargo-tarball #![warn(warnings)] #[macro_use] extern crate failure; extern crate globwalk; #[cfg(feature = "de")] extern crate liquid; #[macro_use] extern crate log; #[cfg(feature = "de")] #[macro_use] extern crate serde; pub mod action; pub mod builder; #[cfg(feature = "de")] pub mod de; mod error;