Skip to content

Commit

Permalink
fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Jan 28, 2025
1 parent f340999 commit 6a73c84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ cd crates/legacy/
cargo publish
cd ../../

cd integrations/axum/
cargo publish
cd ..

cd rspc/
cargo publish
cd ..
8 changes: 4 additions & 4 deletions rspc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ rustdoc-args = ["--cfg", "docsrs"]
default = []

typescript = ["dep:specta-typescript", "dep:serde_json"]
rust = ["dep:specta-rust"]
rust = [] # TODO: "dep:specta-rust"]

# TODO: Remove
legacy = ["dep:rspc-legacy"]

[dependencies]
# Public
rspc-procedure = { path = "../crates/procedure" }
rspc-legacy = { path = "../crates/legacy", optional = true }
rspc-procedure = { version = "0.0.1", path = "../crates/procedure" }
rspc-legacy = { version = "0.0.1", path = "../crates/legacy", optional = true }
serde = { workspace = true }
futures-util = { workspace = true, features = ["alloc"] }
specta = { workspace = true, features = [
Expand All @@ -40,7 +40,7 @@ specta = { workspace = true, features = [
# Private
specta-typescript = { workspace = true, optional = true, features = [] }
serde_json = { workspace = true, optional = true }
specta-rust = { git = "https://github.com/specta-rs/specta", optional = true, rev = "bf3a0937cceb29eca11df207076b9e1b942ba7bb" }
# specta-rust = { git = "https://github.com/specta-rs/specta", optional = true, rev = "bf3a0937cceb29eca11df207076b9e1b942ba7bb" }

[lints]
workspace = true

0 comments on commit 6a73c84

Please sign in to comment.