Skip to content

Commit

Permalink
refactor(rsjudge-amqp): 🚚 rename rsjudge-rabbitmq to rsjudge-amqp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed May 15, 2024
1 parent 8a34b43 commit bfb8712
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"deps",
"devcontainer",
"packaging",
"rsjudge-amqp",
"rsjudge-grpc",
"rsjudge-judger",
"rsjudge-rabbitmq",
"rsjudge-rest",
"rsjudge-runner",
"rsjudge-traits",
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[workspace]
members = [
"crates/rsjudge-amqp",
"crates/rsjudge-grpc",
"crates/rsjudge-judger",
"crates/rsjudge-rabbitmq",
"crates/rsjudge-rest",
"crates/rsjudge-runner",
"crates/rsjudge-traits",
Expand Down Expand Up @@ -145,8 +145,8 @@ rsjudge-runner = { version = "0.1.0", path = "crates/rsjudge-runner" }
rsjudge-utils.workspace = true

# Optional dependencies
rsjudge-amqp = { version = "0.1.0", path = "crates/rsjudge-amqp", optional = true }
rsjudge-grpc = { version = "0.1.0", path = "crates/rsjudge-grpc", optional = true }
rsjudge-rabbitmq = { version = "0.1.0", path = "crates/rsjudge-rabbitmq", optional = true }
rsjudge-rest = { version = "0.1.0", path = "crates/rsjudge-rest", optional = true }

anyhow = "1.0.83"
Expand All @@ -166,9 +166,9 @@ toml = "0.8.12"
[features]
grpc = ["dep:rsjudge-grpc", "rsjudge-grpc/serde"]
rest = ["dep:rsjudge-rest"]
rabbitmq = ["dep:rsjudge-rabbitmq", "rsjudge-rabbitmq/serde"]
amqp = ["dep:rsjudge-amqp", "rsjudge-amqp/serde"]
mimalloc = ["dep:mimalloc"]
default = ["grpc", "rest", "rabbitmq", "mimalloc"]
default = ["grpc", "rest", "amqp", "mimalloc"]

[build-dependencies]
clap = { version = "4.5.4", features = ["derive"] }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

[package]
name = "rsjudge-rabbitmq"
name = "rsjudge-amqp"
version.workspace = true
authors.workspace = true
edition.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bfb8712

Please sign in to comment.