Skip to content

Commit 4f63e5f

Browse files
committed
More reorganization and cleanup.
1 parent 5318601 commit 4f63e5f

File tree

14 files changed

+404
-421
lines changed

14 files changed

+404
-421
lines changed

Diff for: CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ project adheres to
1717
contains a `SourcePos` for where it is declared.
1818
* The fields of `SourcePos` is now private.
1919
* The `name` of a `sass::Item::AtRule` is now a SassString.
20-
* PR #118: A `css::Value::Literal` now contains a `CssString` rather
20+
* A `css::Value::Literal` now contains a `CssString` rather
2121
than a `String` and a `Quotes`. Evaluating a `SassString` also
22-
returns a `CssString`.
22+
returns a `CssString` (PR #118).
23+
* The selector types are split from one `selector` module to the `css`
24+
and `sass` modules. Anything that used `selector` types should now
25+
use either `css` or `sass` types (PR #123).
2326

2427
### Improvements
2528

@@ -31,6 +34,9 @@ project adheres to
3134
* Fixed #116: The `sass:map.merge` function was buggy.
3235
* Fixed #119: `saturate(200%)` is allowed (the argument is not limited
3336
to 0..100%).
37+
* `sass:selector` functions `append`, `nest`, and `parse` are closer
38+
to correct (PR #123).
39+
* Css strings and selectors can now be parsed directly (PR #123).
3440
* Fixed reformatting of to-much-indented comments.
3541
* Unicode Private-use characters are escaped when printed.
3642
* Updated `nom` to 7.0 and `nom-locate` to 4.0.

Diff for: src/css/mod.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ mod call_args;
33
mod rule;
44
mod selectors;
55
mod string;
6+
mod util;
67
mod value;
78
mod valueformat;
89

910
pub use self::call_args::CallArgs;
1011
pub use self::rule::{BodyItem, Rule};
11-
pub use self::selectors::{Selector, SelectorPart, Selectors};
12+
pub use self::selectors::{BadSelector, Selector, SelectorPart, Selectors};
1213
pub use self::string::CssString;
1314
pub use self::value::{Value, ValueMap};
15+
16+
pub(crate) use self::util::is_not;

0 commit comments

Comments
 (0)