From 4c5929715cfe509863c1b18eecf4b7caf3e352c5 Mon Sep 17 00:00:00 2001 From: Steve Cook Date: Wed, 20 Jul 2022 11:11:48 -0400 Subject: [PATCH] Move command struct and parser to command.rs --- src/{commands/mod.rs => command.rs} | 0 src/lib.rs | 4 ++-- src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{commands/mod.rs => command.rs} (100%) diff --git a/src/commands/mod.rs b/src/command.rs similarity index 100% rename from src/commands/mod.rs rename to src/command.rs diff --git a/src/lib.rs b/src/lib.rs index 732f745..50b084b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,8 +1,8 @@ extern crate core; -pub mod commands; +pub mod command; -use crate::commands::{CargoCommand, Input}; +use crate::command::{CargoCommand, Input}; use cargo_metadata::{Message, MetadataCommand}; use core::fmt; use rustc_version::Channel; diff --git a/src/main.rs b/src/main.rs index 2df44b9..3edd05a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use cargo_3ds::commands::Cargo; +use cargo_3ds::command::Cargo; use cargo_3ds::{ build_3dsx, build_elf, build_smdh, check_rust_version, get_message_format, get_metadata, get_should_link, link,