Skip to content

Commit

Permalink
Merge pull request #135 from Tamschi/maintenance/syn-2
Browse files Browse the repository at this point in the history
Update Syn to version 2.0.x
  • Loading branch information
Tamschi authored Aug 29, 2023
2 parents 5cff0b3 + 27538df commit 534737f
Show file tree
Hide file tree
Showing 25 changed files with 241 additions and 179 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If applicable, add screenshots to help explain your problem.

**please complete the following information:**

- `rustc --version`: [e.g. 1.57.0]
- `rustc --version`: [e.g. 1.58.0]
- Crate version (if applicable): [e.g. 0.0.2]

**Additional context**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
matrix:
os: [macos, ubuntu, windows]
rust: ['1.57', stable, beta, nightly]
rust: ['1.58', stable, beta, nightly]
env:
target: ${{matrix.target && format('--target={0}', matrix.target)}}
workspace: ${{matrix.no-workspace || '--workspace'}}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
TODO: Date

* **Breaking:**
* Increased minimum supported Rust version from 1.45.0 to 1.57.0
* Increased minimum supported Rust version from 1.45.0 to 1.58.0
> since `asteracea::error` uses `std::panic::panic_any(…)`,
> and for format string interpolation,
> and to show better event binding validation errors using const panics.
* Removed "rhizome" features (always enabled now)
* Removed "styles" and "topiary" features. CSS scoping will be enabled through more general means.
Expand Down
84 changes: 52 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ asteracea = { path = "." }
[package]
name = "asteracea"
version = "0.0.2"
rust-version = "1.57"
rust-version = "1.58"
authors = ["Tamme Schichler <tamme@schichler.dev>"]
edition = "2021"
description = "A web application framework for Rust. Asteracea can be used for client-side and server-side rendering and for statically rendered and deployed sites (and combinations thereof) without specific changes to an app's code."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Crates.io](https://img.shields.io/crates/v/asteracea)](https://crates.io/crates/asteracea)
[![Docs.rs](https://docs.rs/asteracea/badge.svg)](https://docs.rs/asteracea)

![Rust 1.57](https://img.shields.io/static/v1?logo=Rust&label=&message=1.57&color=grey)
![Rust 1.58](https://img.shields.io/static/v1?logo=Rust&label=&message=1.58&color=grey)
[![CI](https://github.com/Tamschi/Asteracea/workflows/CI/badge.svg?branch=develop)](https://github.com/Tamschi/Asteracea/actions?query=workflow%3ACI+branch%3Adevelop)
![Crates.io - License](https://img.shields.io/crates/l/asteracea/0.0.2)

Expand Down
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ allow = [
"Apache-2.0",
"Zlib",
"BSD-3-Clause",
"Unicode-DFS-2016",
]
default = "deny"

Expand Down
9 changes: 4 additions & 5 deletions proc-macro-definitions/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "asteracea_proc-macro-definitions"
version = "0.0.2"
rust-version = "1.57"
rust-version = "1.58"
authors = ["Tamme Schichler <tamme@schichler.dev>"]
description = "Proc macro definitions for Asteracea. They are unlikely to work correctly unless used through the asteracea crate."
edition = "2021"
Expand All @@ -26,14 +26,13 @@ publish = false
proc-macro = true

[dependencies]
call2-for-syn = "2.0.3"
call2-for-syn = "3.0.4"
debugless-unwrap = "0.0.4"
heck = "0.3.1"
lazy_static = "1.4.0"
quote = "1.0.10"
proc-macro-crate = "1.0.0"
proc-macro2 = "1.0.34"
syn-mid = { version = "0.5.0", features = ["clone-impls"] }
take_mut = "0.2.2"
unzip-n = "0.1.1"
unquote = { git = "https://github.com/Tamschi/unquote.git", branch = "develop" }
Expand All @@ -43,6 +42,6 @@ either = "1.6.1"
tap = "1.0.1"

[dependencies.syn]
version = "1.0.84"
version = "2.0.29"
default-features = false
features = ["derive", "full", "parsing", "printing", "visit-mut"]
features = ["clone-impls", "derive", "extra-traits", "full", "parsing", "printing", "proc-macro", "visit-mut"]
Loading

0 comments on commit 534737f

Please sign in to comment.