Skip to content

Commit

Permalink
Rename config_proc_macro to rustfmt-config_proc_macro
Browse files Browse the repository at this point in the history
  • Loading branch information
topecongiro committed Jun 9, 2019
1 parent 0e3cf08 commit d334502
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 24 deletions.
20 changes: 10 additions & 10 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 @@ -60,7 +60,7 @@ ignore = "0.4.6"
annotate-snippets = { version = "0.5.0", features = ["ansi_term"] }
structopt = "0.2.15"

config_proc_macro = { path = "config_proc_macro" }
rustfmt-config_proc_macro = { version = "0.1", path = "config_proc_macro" }

# A noop dependency that changes in the Rust repository, it's a bit of a hack.
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
Expand Down
20 changes: 10 additions & 10 deletions config_proc_macro/Cargo.lock

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

6 changes: 5 additions & 1 deletion config_proc_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "config_proc_macro"
name = "rustfmt-config_proc_macro"
version = "0.1.0"
authors = ["topecongiro <[email protected]>"]
edition = "2018"
description = "A collection of procedural macros for rustfmt"
license = "Apache-2.0/MIT"
categories = ["development-tools::procedural-macro-helpers"]
repository = "https://github.com/rust-lang/rustfmt"

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion src/config/lists.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Configuration options related to rewriting a list.

use config_proc_macro::config_type;
use rustfmt_config_proc_macro::config_type;

use crate::config::IndentStyle;

Expand Down
2 changes: 1 addition & 1 deletion src/config/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::fmt;
use std::path::{Path, PathBuf};

use atty;
use config_proc_macro::config_type;
use rustfmt_config_proc_macro::config_type;
use serde::de::{SeqAccess, Visitor};
use serde::ser::SerializeSeq;
use serde::{Deserialize, Deserializer, Serialize, Serializer};
Expand Down

0 comments on commit d334502

Please sign in to comment.