From 9c11113b4f71f3d23c908036e7a1a67d360f06e4 Mon Sep 17 00:00:00 2001 From: Charles Lew Date: Sun, 18 Jul 2021 14:42:14 +0800 Subject: [PATCH] Move `library/term/src` to `library/test/src/term/`. --- library/term/Cargo.toml | 9 --------- library/test/Cargo.toml | 1 - library/{term/src/lib.rs => test/src/term/mod.rs} | 0 library/{term/src => test/src/term}/terminfo/mod.rs | 0 library/{term/src => test/src/term}/terminfo/parm.rs | 0 .../{term/src => test/src/term}/terminfo/parm/tests.rs | 0 .../src => test/src/term}/terminfo/parser/compiled.rs | 0 .../src/term}/terminfo/parser/compiled/tests.rs | 0 library/{term/src => test/src/term}/terminfo/searcher.rs | 0 .../src => test/src/term}/terminfo/searcher/tests.rs | 0 library/{term/src => test/src/term}/win.rs | 0 11 files changed, 10 deletions(-) delete mode 100644 library/term/Cargo.toml rename library/{term/src/lib.rs => test/src/term/mod.rs} (100%) rename library/{term/src => test/src/term}/terminfo/mod.rs (100%) rename library/{term/src => test/src/term}/terminfo/parm.rs (100%) rename library/{term/src => test/src/term}/terminfo/parm/tests.rs (100%) rename library/{term/src => test/src/term}/terminfo/parser/compiled.rs (100%) rename library/{term/src => test/src/term}/terminfo/parser/compiled/tests.rs (100%) rename library/{term/src => test/src/term}/terminfo/searcher.rs (100%) rename library/{term/src => test/src/term}/terminfo/searcher/tests.rs (100%) rename library/{term/src => test/src/term}/win.rs (100%) diff --git a/library/term/Cargo.toml b/library/term/Cargo.toml deleted file mode 100644 index ddf85b5c5bc..00000000000 --- a/library/term/Cargo.toml +++ /dev/null @@ -1,9 +0,0 @@ -[package] -authors = ["The Rust Project Developers"] -name = "term" -version = "0.0.0" -edition = "2018" - -[dependencies] -core = { path = "../core" } -std = { path = "../std" } diff --git a/library/test/Cargo.toml b/library/test/Cargo.toml index 226557430df..479d86354c0 100644 --- a/library/test/Cargo.toml +++ b/library/test/Cargo.toml @@ -10,7 +10,6 @@ crate-type = ["dylib", "rlib"] [dependencies] cfg-if = { version = "0.1.8", features = ['rustc-dep-of-std'] } getopts = { version = "0.2.21", features = ['rustc-dep-of-std'] } -term = { path = "../term" } std = { path = "../std" } core = { path = "../core" } libc = { version = "0.2", default-features = false } diff --git a/library/term/src/lib.rs b/library/test/src/term/mod.rs similarity index 100% rename from library/term/src/lib.rs rename to library/test/src/term/mod.rs diff --git a/library/term/src/terminfo/mod.rs b/library/test/src/term/terminfo/mod.rs similarity index 100% rename from library/term/src/terminfo/mod.rs rename to library/test/src/term/terminfo/mod.rs diff --git a/library/term/src/terminfo/parm.rs b/library/test/src/term/terminfo/parm.rs similarity index 100% rename from library/term/src/terminfo/parm.rs rename to library/test/src/term/terminfo/parm.rs diff --git a/library/term/src/terminfo/parm/tests.rs b/library/test/src/term/terminfo/parm/tests.rs similarity index 100% rename from library/term/src/terminfo/parm/tests.rs rename to library/test/src/term/terminfo/parm/tests.rs diff --git a/library/term/src/terminfo/parser/compiled.rs b/library/test/src/term/terminfo/parser/compiled.rs similarity index 100% rename from library/term/src/terminfo/parser/compiled.rs rename to library/test/src/term/terminfo/parser/compiled.rs diff --git a/library/term/src/terminfo/parser/compiled/tests.rs b/library/test/src/term/terminfo/parser/compiled/tests.rs similarity index 100% rename from library/term/src/terminfo/parser/compiled/tests.rs rename to library/test/src/term/terminfo/parser/compiled/tests.rs diff --git a/library/term/src/terminfo/searcher.rs b/library/test/src/term/terminfo/searcher.rs similarity index 100% rename from library/term/src/terminfo/searcher.rs rename to library/test/src/term/terminfo/searcher.rs diff --git a/library/term/src/terminfo/searcher/tests.rs b/library/test/src/term/terminfo/searcher/tests.rs similarity index 100% rename from library/term/src/terminfo/searcher/tests.rs rename to library/test/src/term/terminfo/searcher/tests.rs diff --git a/library/term/src/win.rs b/library/test/src/term/win.rs similarity index 100% rename from library/term/src/win.rs rename to library/test/src/term/win.rs