Skip to content

Commit cc11a32

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Rename crates to be in the same top-level crates/ directory
Unblocks #1033.
1 parent cf95d20 commit cc11a32

File tree

12 files changed

+4
-4
lines changed

12 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ r2d2_postgres = "0.16"
3030
# iron needs url@1, but it reexports it as iron::url, so we can start using
3131
# url@2 for other usecases
3232
url = { version = "2.1.1", features = ["serde"] }
33-
badge = { path = "src/web/badge" }
34-
docsrs-metadata = { path = "metadata" }
33+
badge = { path = "crates/badge" }
34+
docsrs-metadata = { path = "crates/metadata" }
3535
backtrace = "0.3"
3636
failure = { version = "0.1.3", features = ["backtrace"] }
3737
comrak = { version = "0.8", default-features = false }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

dockerfiles/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ RUN mkdir -p /build/src/web/badge
3030
WORKDIR /build
3131
COPY benches benches
3232
COPY Cargo.lock Cargo.toml ./
33-
COPY src/web/badge src/web/badge/
34-
COPY metadata metadata/
33+
COPY crates/badge crates/badge/
34+
COPY crates/metadata crates/metadata/
3535
RUN mkdir src/bin && \
3636
echo "fn main() {}" > src/bin/cratesfyi.rs && \
3737
echo "fn main() {}" > build.rs

0 commit comments

Comments
 (0)