Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 13, 2019
1 parent 8b3c7bb commit 5a06e7b
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 33 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "syn-next"
version = "1.0.0-rc4" # don't forget to update html_root_url and syn.json
name = "syn"
version = "1.0.0" # 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 Down Expand Up @@ -28,17 +28,17 @@ default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
derive = []
full = []
parsing = []
printing = ["quote-next"]
printing = ["quote"]
visit = []
visit-mut = []
fold = []
clone-impls = []
extra-traits = []
proc-macro = ["proc-macro2-next/proc-macro", "quote-next/proc-macro"]
proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]

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

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ points, which are required by the language to use `proc_macro::TokenStream`.
The proc-macro2 crate will automatically detect and use the compiler's data
structures when a procedural macro is active.

[proc-macro2]: https://docs.rs/proc-macro2-next/1.0.0-rc4/proc_macro2/
[proc-macro2]: https://docs.rs/proc-macro2/1.0.0/proc_macro2/

<br>

Expand Down
6 changes: 3 additions & 3 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ color-backtrace = "0.2"
failure = "0.1"
indexmap = { version = "1.0", features = ["serde-1"] }
inflections = "1.1"
proc-macro2-next = "1.0.0-rc3"
quote-next = "1.0.0-rc3"
proc-macro2 = "1.0"
quote = "1.0"
rustfmt = { package = "rustfmt-nightly", git = "https://github.com/rust-lang-nursery/rustfmt" }
semver = { version = "0.9", features = ["serde"] }
serde = { version = "1.0.88", features = ["derive"] }
serde_json = "1.0.38"
syn-codegen = { path = "../json" }
syn-next = { path = "..", features = ["full", "extra-traits"] }
syn = { path = "..", features = ["full", "extra-traits"] }
toml = "0.4.10"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ path = "main.rs"
name = "syn-dev"

[dependencies]
quote-next = "1.0.0-rc3"
quote = "1.0"

[dependencies.syn-next]
[dependencies.syn]
path = ".."
default-features = false
features = ["parsing", "full", "extra-traits", "proc-macro"]
4 changes: 2 additions & 2 deletions examples/dump-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ publish = false

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

[dependencies.syn-next]
[dependencies.syn]
path = "../.."
default-features = false
features = ["parsing", "full", "extra-traits"]
Expand Down
6 changes: 3 additions & 3 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 = "1.0.0-rc3"
quote-next = "1.0.0-rc3"
syn-next = { path = "../../.." }
proc-macro2 = "1.0"
quote = "1.0"
syn = { path = "../../.." }
6 changes: 3 additions & 3 deletions examples/lazy-static/lazy-static/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 = { version = "1.0.0-rc3", features = ["nightly"] }
quote-next = "1.0.0-rc3"
syn-next = { path = "../../../", features = ["full"] }
proc-macro2 = { version = "1.0", features = ["nightly"] }
quote = "1.0"
syn = { path = "../../../", features = ["full"] }
6 changes: 3 additions & 3 deletions examples/trace-var/trace-var/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 = { version = "1.0.0-rc3", features = ["nightly"] }
quote-next = "1.0.0-rc3"
syn-next = { path = "../../../", features = ["full", "fold"] }
proc-macro2 = { version = "1.0", features = ["nightly"] }
quote = "1.0"
syn = { path = "../../../", features = ["full", "fold"] }
18 changes: 9 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
//!
//! ```toml
//! [dependencies]
//! syn-next = "1.0.0-rc4"
//! quote-next = "1.0.0-rc3"
//! syn = "1.0"
//! quote = "1.0"
//!
//! [lib]
//! proc-macro = true
Expand Down Expand Up @@ -242,7 +242,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-next/1.0.0-rc4")]
#![doc(html_root_url = "https://docs.rs/syn/1.0.0")]
#![deny(clippy::all, clippy::pedantic)]
// Ignored clippy lints.
#![allow(
Expand Down Expand Up @@ -493,8 +493,8 @@ mod gen {
///
/// ```
/// // [dependencies]
/// // quote-next = "1.0.0-rc3"
/// // syn-next = { version = "1.0.0-rc4", features = ["full", "visit"] }
/// // quote = "1.0"
/// // syn = { version = "1.0", features = ["full", "visit"] }
///
/// use quote::quote;
/// use syn::visit::{self, Visit};
Expand Down Expand Up @@ -615,8 +615,8 @@ mod gen {
///
/// ```
/// // [dependencies]
/// // quote-next = "1.0.0-rc3"
/// // syn-next = { version = "1.0.0-rc4", features = ["full", "visit-mut"] }
/// // quote = "1.0"
/// // syn = { version = "1.0", features = ["full", "visit-mut"] }
///
/// use quote::quote;
/// use syn::visit_mut::{self, VisitMut};
Expand Down Expand Up @@ -712,8 +712,8 @@ mod gen {
///
/// ```
/// // [dependencies]
/// // quote-next = "1.0.0-rc3"
/// // syn-next = { version = "1.0.0-rc4", features = ["fold", "full"] }
/// // quote = "1.0"
/// // syn = { version = "1.0", features = ["fold", "full"] }
///
/// use quote::quote;
/// use syn::fold::{fold_expr, Fold};
Expand Down
2 changes: 1 addition & 1 deletion syn.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-rc4",
"version": "1.0.0",
"types": [
{
"ident": "Abi",
Expand Down

0 comments on commit 5a06e7b

Please sign in to comment.