Skip to content

New visibility rules: only export what is meant to be public. #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@

extern mod extra;

pub use ast::*;
pub use tokenizer::*;
pub use parser::*;
pub use color::*;
pub use nth::*;
pub use tokenizer::tokenize;
pub use parser::{parse_stylesheet_rules, parse_rule_list, parse_declaration_list,
parse_one_rule, parse_one_declaration, parse_one_component_value};
pub use color::{RGBA, Color, CurrentColor};
pub use nth::parse_nth;
pub use serializer::{ToCss, serialize_identifier, serialize_string};

pub mod ast;
pub mod tokenizer;
pub mod parser;
pub mod color;
pub mod nth;
pub mod serializer;
mod tokenizer;
mod parser;
mod color;
mod nth;
mod serializer;

#[cfg(test)]
mod tests;
1 change: 1 addition & 0 deletions tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use extra::{tempfile, json};
use extra::json::ToJson;

use super::*;
use ast::*;


fn write_whole_file(path: &Path, data: &str) {
Expand Down