Skip to content

Commit

Permalink
Update version.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Sep 15, 2021
1 parent 5aeb6d9 commit 77e256a
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/stylist-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylist-core"
version = "0.9.1"
version = "0.9.2"
license = "MIT"
repository = "https://github.com/futursolo/stylist-rs"
authors = [
Expand Down
4 changes: 2 additions & 2 deletions packages/stylist-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylist-macros"
version = "0.9.1"
version = "0.9.2"
edition = "2018"
license = "MIT"
repository = "https://github.com/futursolo/stylist-rs"
Expand All @@ -24,7 +24,7 @@ resolver = "2"
proc-macro = true

[dependencies]
stylist-core = { path = "../stylist-core", version = "0.9.1", features = ["parser"] }
stylist-core = { path = "../stylist-core", version = "0.9.2", features = ["parser"] }

litrs = "0.2.3"
proc-macro-error = "1.0.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/stylist-macros/src/inline/parse/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ pub struct CssAttributeValue {
#[derive(Debug)]
pub struct CssAttribute {
name: CssAttributeName,
colon: token::Colon,
_colon: token::Colon,
value: CssAttributeValue,
terminator: token::Semi,
_terminator: token::Semi,
}

impl Parse for CssAttribute {
Expand All @@ -52,9 +52,9 @@ impl Parse for CssAttribute {
let terminator = input.parse()?;
Ok(CssAttribute {
name,
colon,
_colon: colon,
value,
terminator,
_terminator: terminator,
})
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/stylist-macros/src/inline/parse/rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub enum CssAtRuleContent {

#[derive(Debug)]
pub struct CssAtRule {
at: token::At,
_at: token::At,
name: CssIdent,
prelude: Vec<ComponentValue>,
contents: CssAtRuleContent,
Expand Down Expand Up @@ -65,7 +65,7 @@ impl Parse for CssAtRule {
};

Ok(Self {
at,
_at: at,
name,
prelude,
contents,
Expand Down
7 changes: 5 additions & 2 deletions packages/stylist-macros/src/inline/parse/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::output::OutputRuleBlockContent;

#[derive(Debug)]
pub struct CssScope {
brace: token::Brace,
_brace: token::Brace,
pub contents: Vec<CssScopeContent>,
}

Expand All @@ -20,7 +20,10 @@ impl Parse for CssScope {
let inner;
let brace = braced!(inner in input);
let contents = CssScopeContent::consume_list_of_rules(&inner)?;
Ok(Self { brace, contents })
Ok(Self {
_brace: brace,
contents,
})
}
}

Expand Down
6 changes: 3 additions & 3 deletions packages/stylist/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylist"
version = "0.9.1"
version = "0.9.2"
license = "MIT"
repository = "https://github.com/futursolo/stylist-rs"
authors = [
Expand All @@ -24,8 +24,8 @@ resolver = "2"
crate-type = ["cdylib", "rlib"]

[dependencies]
stylist-core = { path = "../stylist-core", version = "0.9.1" }
stylist-macros = { path = "../stylist-macros", version = "0.9.1", optional = true }
stylist-core = { path = "../stylist-core", version = "0.9.2" }
stylist-macros = { path = "../stylist-macros", version = "0.9.2", optional = true }

once_cell = "1.8.0"
rand = { version = "0.8.4", optional = true }
Expand Down

0 comments on commit 77e256a

Please sign in to comment.