Skip to content

Commit

Permalink
Bump MSRV to 1.64.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Sep 17, 2023
1 parent 022a237 commit 9ead36c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 18 deletions.
9 changes: 2 additions & 7 deletions packages/stylist-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ authors = [
]
edition = "2021"
description = "Stylist is a CSS-in-Rust styling solution for WebAssembly Applications."
keywords = [
"CSS",
"web",
"css-in-rust",
"yew"
]
keywords = ["CSS", "web", "css-in-rust", "yew"]
categories = ["wasm", "web-programming"]
readme = "README.md"
homepage = "https://github.com/futursolo/stylist-rs"
resolver = "2"
rust-version = "1.60"
rust-version = "1.64.0"

[dependencies]
nom = { version = "7.1.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion packages/stylist-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use thiserror::Error;
//
// For crates outside of this workspace, `__proc_macro_workaround` will not be enabled
// when they use version = "2021" or resolver = "2" as procedural macros can have different feature
// flags. This should be OK for all downstream crates as stylist requires Rust 1.60 which supports
// flags. This should be OK for all downstream crates as stylist requires Rust 1.64.0 which supports
// both.
#[cfg(not(feature = "__proc_macro_workaround"))]
type JsValue = wasm_bindgen::JsValue;
Expand Down
18 changes: 9 additions & 9 deletions packages/stylist-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ authors = [
"Martin Molzer <[email protected]>",
]
description = "Stylist is a CSS-in-Rust styling solution for WebAssembly Applications."
keywords = [
"CSS",
"web",
"css-in-rust",
"yew"
]
keywords = ["CSS", "web", "css-in-rust", "yew"]
categories = ["wasm", "web-programming"]
readme = "README.md"
homepage = "https://github.com/futursolo/stylist-rs"
resolver = "2"
rust-version = "1.60"
rust-version = "1.64.0"

[lib]
proc-macro = true
Expand All @@ -35,10 +30,15 @@ itertools = "0.11.0"
log = "0.4.17"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
stylist-core = { path = "../stylist-core", version = "0.12", features = ["parser", "__proc_macro_workaround"] }
stylist-core = { path = "../stylist-core", version = "0.12", features = [
"parser",
"__proc_macro_workaround",
] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
stylist-core = { path = "../stylist-core", version = "0.12", features = ["parser"] }
stylist-core = { path = "../stylist-core", version = "0.12", features = [
"parser",
] }

[dev-dependencies]
env_logger = "0.10.0"
2 changes: 1 addition & 1 deletion packages/stylist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories = ["wasm", "web-programming"]
readme = "../../README.md"
homepage = "https://github.com/futursolo/stylist-rs"
resolver = "2"
rust-version = "1.60"
rust-version = "1.64.0"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down

0 comments on commit 9ead36c

Please sign in to comment.