From 0a3c5519dc79a143c3fbe25dbf3f1d92f02d2199 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Tue, 1 Nov 2022 15:59:53 +0400 Subject: [PATCH] move teloxide-macros to crates/ --- .gitignore | 4 ---- .../teloxide-macros/.github}/workflows/rust.yml | 0 CHANGELOG.md => crates/teloxide-macros/CHANGELOG.md | 0 Cargo.toml => crates/teloxide-macros/Cargo.toml | 0 LICENSE => crates/teloxide-macros/LICENSE | 0 rustfmt.toml => crates/teloxide-macros/rustfmt.toml | 0 {src => crates/teloxide-macros/src}/attr.rs | 0 {src => crates/teloxide-macros/src}/bot_commands.rs | 0 {src => crates/teloxide-macros/src}/command.rs | 0 {src => crates/teloxide-macros/src}/command_attr.rs | 0 {src => crates/teloxide-macros/src}/command_enum.rs | 0 {src => crates/teloxide-macros/src}/error.rs | 0 {src => crates/teloxide-macros/src}/fields_parse.rs | 0 {src => crates/teloxide-macros/src}/lib.rs | 0 {src => crates/teloxide-macros/src}/rename_rules.rs | 0 {src => crates/teloxide-macros/src}/unzip.rs | 0 {tests => crates/teloxide-macros/tests}/command.rs | 0 17 files changed, 4 deletions(-) delete mode 100644 .gitignore rename {.github => crates/teloxide-macros/.github}/workflows/rust.yml (100%) rename CHANGELOG.md => crates/teloxide-macros/CHANGELOG.md (100%) rename Cargo.toml => crates/teloxide-macros/Cargo.toml (100%) rename LICENSE => crates/teloxide-macros/LICENSE (100%) rename rustfmt.toml => crates/teloxide-macros/rustfmt.toml (100%) rename {src => crates/teloxide-macros/src}/attr.rs (100%) rename {src => crates/teloxide-macros/src}/bot_commands.rs (100%) rename {src => crates/teloxide-macros/src}/command.rs (100%) rename {src => crates/teloxide-macros/src}/command_attr.rs (100%) rename {src => crates/teloxide-macros/src}/command_enum.rs (100%) rename {src => crates/teloxide-macros/src}/error.rs (100%) rename {src => crates/teloxide-macros/src}/fields_parse.rs (100%) rename {src => crates/teloxide-macros/src}/lib.rs (100%) rename {src => crates/teloxide-macros/src}/rename_rules.rs (100%) rename {src => crates/teloxide-macros/src}/unzip.rs (100%) rename {tests => crates/teloxide-macros/tests}/command.rs (100%) diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f940c081..00000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -target -Cargo.lock -.idea -.vscode diff --git a/.github/workflows/rust.yml b/crates/teloxide-macros/.github/workflows/rust.yml similarity index 100% rename from .github/workflows/rust.yml rename to crates/teloxide-macros/.github/workflows/rust.yml diff --git a/CHANGELOG.md b/crates/teloxide-macros/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to crates/teloxide-macros/CHANGELOG.md diff --git a/Cargo.toml b/crates/teloxide-macros/Cargo.toml similarity index 100% rename from Cargo.toml rename to crates/teloxide-macros/Cargo.toml diff --git a/LICENSE b/crates/teloxide-macros/LICENSE similarity index 100% rename from LICENSE rename to crates/teloxide-macros/LICENSE diff --git a/rustfmt.toml b/crates/teloxide-macros/rustfmt.toml similarity index 100% rename from rustfmt.toml rename to crates/teloxide-macros/rustfmt.toml diff --git a/src/attr.rs b/crates/teloxide-macros/src/attr.rs similarity index 100% rename from src/attr.rs rename to crates/teloxide-macros/src/attr.rs diff --git a/src/bot_commands.rs b/crates/teloxide-macros/src/bot_commands.rs similarity index 100% rename from src/bot_commands.rs rename to crates/teloxide-macros/src/bot_commands.rs diff --git a/src/command.rs b/crates/teloxide-macros/src/command.rs similarity index 100% rename from src/command.rs rename to crates/teloxide-macros/src/command.rs diff --git a/src/command_attr.rs b/crates/teloxide-macros/src/command_attr.rs similarity index 100% rename from src/command_attr.rs rename to crates/teloxide-macros/src/command_attr.rs diff --git a/src/command_enum.rs b/crates/teloxide-macros/src/command_enum.rs similarity index 100% rename from src/command_enum.rs rename to crates/teloxide-macros/src/command_enum.rs diff --git a/src/error.rs b/crates/teloxide-macros/src/error.rs similarity index 100% rename from src/error.rs rename to crates/teloxide-macros/src/error.rs diff --git a/src/fields_parse.rs b/crates/teloxide-macros/src/fields_parse.rs similarity index 100% rename from src/fields_parse.rs rename to crates/teloxide-macros/src/fields_parse.rs diff --git a/src/lib.rs b/crates/teloxide-macros/src/lib.rs similarity index 100% rename from src/lib.rs rename to crates/teloxide-macros/src/lib.rs diff --git a/src/rename_rules.rs b/crates/teloxide-macros/src/rename_rules.rs similarity index 100% rename from src/rename_rules.rs rename to crates/teloxide-macros/src/rename_rules.rs diff --git a/src/unzip.rs b/crates/teloxide-macros/src/unzip.rs similarity index 100% rename from src/unzip.rs rename to crates/teloxide-macros/src/unzip.rs diff --git a/tests/command.rs b/crates/teloxide-macros/tests/command.rs similarity index 100% rename from tests/command.rs rename to crates/teloxide-macros/tests/command.rs