Skip to content

Commit

Permalink
Release 1.0.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 29, 2019
1 parent ce05e49 commit 68b1aae
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 40 deletions.
11 changes: 3 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "syn-next"
version = "0.15.42" # don't forget to update html_root_url and syn.json
version = "1.0.0-rc1" # don't forget to update html_root_url and syn.json
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Parser for Rust source code"
Expand All @@ -19,7 +19,6 @@ include = [
"/tests/**",
]
edition = "2018"
publish = false # contains breaking changes

[lib]
name = "syn"
Expand All @@ -38,8 +37,8 @@ extra-traits = []
proc-macro = ["proc-macro2-next/proc-macro", "quote-next/proc-macro"]

[dependencies]
proc-macro2-next = { version = "0.4.4", default-features = false }
quote-next = { version = "0.6", optional = true, default-features = false }
proc-macro2-next = { version = "1.0.0-rc1", default-features = false }
quote-next = { version = "1.0.0-rc1", optional = true, default-features = false }
unicode-xid = "0.2"

[dev-dependencies]
Expand Down Expand Up @@ -72,7 +71,3 @@ travis-ci = { repository = "dtolnay/syn" }

[workspace]
members = ["dev", "json"]

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
quote-next = { git = "https://github.com/dtolnay/quote" }
8 changes: 2 additions & 6 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ publish = false # this is an internal crate which should never be published

[dependencies]
syn-next = { path = "..", features = ["full", "extra-traits"] }
quote-next = "0.6"
quote-next = "1.0.0-rc1"
color-backtrace = "0.2"
failure = "0.1"
indexmap = { version = "1.0", features = ["serde-1"] }
inflections = "1.1"
proc-macro2-next = "0.4"
proc-macro2-next = "1.0.0-rc1"
rustfmt = { package = "rustfmt-nightly", git = "https://github.com/rust-lang-nursery/rustfmt" }
serde = { version = "1.0.88", features = ["derive"] }
serde_json = "1.0.38"
Expand All @@ -24,7 +24,3 @@ syn-codegen = { path = "../json" }
[workspace]
# Prefer that `cargo clean` in syn's directory does not require a rebuild of
# rustfmt in the codegen directory.

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
quote-next = { git = "https://github.com/dtolnay/quote" }
2 changes: 1 addition & 1 deletion dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ path = "main.rs"
name = "syn-dev"

[dependencies]
quote-next = "0.6"
quote-next = "1.0.0-rc1"

[dependencies.syn-next]
path = ".."
Expand Down
5 changes: 1 addition & 4 deletions examples/dump-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
publish = false

[dependencies]
proc-macro2-next = { version = "0.4.27", features = ["span-locations"] }
proc-macro2-next = { version = "1.0.0-rc1", features = ["span-locations"] }
colored = "1.7"

[dependencies.syn-next]
Expand All @@ -15,6 +15,3 @@ default-features = false
features = ["parsing", "full", "extra-traits"]

[workspace]

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
4 changes: 0 additions & 4 deletions examples/heapsize/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[workspace]
members = ["example", "heapsize", "heapsize_derive"]

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
quote-next = { git = "https://github.com/dtolnay/quote" }
4 changes: 2 additions & 2 deletions examples/heapsize/heapsize_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ publish = false
proc-macro = true

[dependencies]
proc-macro2-next = "0.4"
quote-next = "0.6"
proc-macro2-next = "1.0.0-rc1"
quote-next = "1.0.0-rc1"
syn-next = { path = "../../.." }
4 changes: 0 additions & 4 deletions examples/lazy-static/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[workspace]
members = ["example", "lazy-static"]

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
quote-next = { git = "https://github.com/dtolnay/quote" }
4 changes: 2 additions & 2 deletions examples/lazy-static/lazy-static/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ proc-macro = true

[dependencies]
syn-next = { path = "../../../", features = ["full"] }
quote-next = "0.6"
proc-macro2-next = { version = "0.4", features = ["nightly"] }
quote-next = "1.0.0-rc1"
proc-macro2-next = { version = "1.0.0-rc1", features = ["nightly"] }
4 changes: 0 additions & 4 deletions examples/trace-var/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[workspace]
members = ["example", "trace-var"]

[patch.crates-io]
proc-macro2-next = { git = "https://github.com/alexcrichton/proc-macro2", branch = "next" }
quote-next = { git = "https://github.com/dtolnay/quote" }
4 changes: 2 additions & 2 deletions examples/trace-var/trace-var/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ proc-macro = true

[dependencies]
syn-next = { path = "../../../", features = ["full", "fold"] }
quote-next = "0.6"
proc-macro2-next = { version = "0.4", features = ["nightly"] }
quote-next = "1.0.0-rc1"
proc-macro2-next = { version = "1.0.0-rc1", features = ["nightly"] }
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
//!
//! ```toml
//! [dependencies]
//! syn = "0.15"
//! quote = "0.6"
//! syn-next = "1.0.0-rc1"
//! quote-next = "1.0.0-rc1"
//!
//! [lib]
//! proc-macro = true
Expand Down Expand Up @@ -235,7 +235,7 @@
//! dynamic library libproc_macro from rustc toolchain.
// Syn types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/syn/0.15.42")]
#![doc(html_root_url = "https://docs.rs/syn-next/1.0.0-rc1")]
#![allow(unknown_lints, bare_trait_objects, ellipsis_inclusive_range_patterns)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
Expand Down

0 comments on commit 68b1aae

Please sign in to comment.