Switch to cargo-workspaces

This commit is contained in:
Tony Garnock-Jones 2022-10-26 13:41:46 +02:00
parent e21485c44d
commit 2f3b186262
5 changed files with 19 additions and 26 deletions

View File

@ -11,22 +11,15 @@ test:
test-all:
cargo test --all-targets
# Try
#
# make release-minor
#
# to check things, and
#
# make release-minor RELEASE_DRY_RUN=
#
# to do things for real.
ws-bump:
cargo workspaces version \
--no-global-tag \
--individual-tag-prefix '%nv' \
--allow-branch 'main'
RELEASE_DRY_RUN=--dry-run
release-%:
PUBLISH_GRACE_SLEEP=15 cargo release \
$(RELEASE_DRY_RUN) \
-vv --no-dev-version --exclude-unchanged \
$*
ws-publish:
cargo workspaces publish \
--from-git
pull-protocols:
git subtree pull -P syndicate/protocols \

View File

@ -13,7 +13,7 @@ license = "Apache-2.0"
proc-macro = true
[dependencies]
syndicate = { path = "../syndicate", version = "^0.24.0"}
syndicate = { path = "../syndicate", version = "0.24"}
proc-macro2 = { version = "^1.0", features = ["span-locations"] }
quote = "^1.0"

View File

@ -10,13 +10,13 @@ repository = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs"
license = "Apache-2.0"
[build-dependencies]
preserves-schema = "^3.0.0"
syndicate = { path = "../syndicate", version = "^0.24.0"}
preserves-schema = "3.0"
syndicate = { path = "../syndicate", version = "0.24"}
[dependencies]
preserves-schema = "^3.0.0"
syndicate = { path = "../syndicate", version = "^0.24.0"}
syndicate-macros = { path = "../syndicate-macros", version = "^0.19.0"}
preserves-schema = "3.0"
syndicate = { path = "../syndicate", version = "0.24"}
syndicate-macros = { path = "../syndicate-macros", version = "0.19"}
chrono = "0.4"
futures = "0.3"

View File

@ -10,8 +10,8 @@ repository = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs"
license = "Apache-2.0"
[dependencies]
preserves = "^2"
syndicate = { path = "../syndicate", version = "^0.24.0"}
preserves = "2.4"
syndicate = { path = "../syndicate", version = "0.24"}
clap = { version = "^4.0", features = ["derive"] }
clap_complete = "^4.0"

View File

@ -13,11 +13,11 @@ license = "Apache-2.0"
vendored-openssl = ["openssl/vendored"]
[build-dependencies]
preserves-schema = "^3.0.0"
preserves-schema = "3.0"
[dependencies]
preserves = "^2"
preserves-schema = "^3.0.0"
preserves = "2.4"
preserves-schema = "3.0"
tokio = { version = "1.10", features = ["io-util", "macros", "rt", "rt-multi-thread", "time"] }
tokio-util = "0.6"