rojo/src/lib.rs
Lucien Greathouse e261e7a2c7
Implement glob ignores (#272)
* Add Glob wrapper type with better serialization

* Introduce PathIgnoreRule struct

* Implement equality for Glob type

* Add PathIgnoreRule to InstanceContext

* Implement glob ignores in directory middleware

* Fix up filters

* Use Iterator::all instead of loop

* Add project-level configuration for glob ignores

* Add test project for glob ignores

* Wire up project file and snapshots to make glob ignores work

* Better codepaths for adding ignore rules with empty iterators

* Add test for globs inherited from parent projects

* Add test details, support glob ignores in nested projects

* Add feature flag for globs

* Switch to use ExactSizeIterator instead of size_hint

* Remove glob visitor
2020-01-08 17:58:37 -08:00

28 lines
503 B
Rust

// Recursion limit bump is to support Ritz, a JSX-like proc macro used for
// Rojo's web UI currently.
#![recursion_limit = "1024"]
pub mod cli;
#[cfg(test)]
mod tree_view;
mod auth_cookie;
mod change_processor;
mod common_setup;
mod glob;
mod message_queue;
mod multimap;
mod path_map;
mod path_serializer;
mod project;
mod serve_session;
mod session_id;
mod snapshot;
mod snapshot_middleware;
mod vfs;
mod web;
pub use project::*;
pub use session_id::SessionId;
pub use web::interface as web_api;