Skip to content

Commit

Permalink
chore: use workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Oct 27, 2024
1 parent 2eb86b0 commit 8ec0226
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ homepage = "https://github.com/noctisynth/aionbot"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://github.com/noctisynth/aionbot"

[workspace.dependencies]
aionbot = { path = "crates/aionbot" }
aionbot-core = { path = "crates/aionbot-core" }
aionbot-macros = { path = "crates/aionbot-macros" }
2 changes: 1 addition & 1 deletion crates/aionbot-adapter-onebot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository.workspace = true
license.workspace = true

[dependencies]
aionbot-core = { version = "*", path = "../aionbot-core" }
aionbot-core = { version = "0.1.0", path = "../aionbot-core" }
anyhow = "1.0.89"
futures-util = "0.3.30"
log = "0.4.22"
Expand Down
2 changes: 1 addition & 1 deletion crates/aionbot-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ quote = "1.0.37"
syn = { version = "2.0.77", features = ["full"] }

[dev-dependencies]
aionbot-core = { version = "*", path = "../aionbot-core" }
aionbot-core.workspace = true

[lib]
proc-macro = true
5 changes: 2 additions & 3 deletions crates/aionbot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ repository.workspace = true
license.workspace = true

[dependencies]
aionbot-adapter-onebot = { version = "*", path = "../aionbot-adapter-onebot" }
aionbot-core = { version = "*", path = "../aionbot-core" }
aionbot-macros = { version = "*", path = "../aionbot-macros" }
aionbot-core.workspace = true
aionbot-macros.workspace = true
anyhow = "1.0.91"
colored = "2.1.0"
fern = "0.7.0"
Expand Down

0 comments on commit 8ec0226

Please sign in to comment.