Skip to content

Commit 9828ae9

Browse files
committed
Update constellation, add support for new postcard format
1 parent ca2a167 commit 9828ae9

File tree

14 files changed

+228
-79
lines changed

14 files changed

+228
-79
lines changed

Cargo.lock

Lines changed: 47 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "1.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
star-constellation = "0.2.3"
8-
sta-rs = "0.3.0"
7+
star-constellation = "0.4.0"
8+
sta-rs = "0.3.3"
99
actix-web = "4"
1010
env_logger = "0.11"
1111
log = "0.4"
@@ -19,6 +19,7 @@ rand = "0.8"
1919
clap = { version = "4.5", features = ["derive"] }
2020
base64 = "0.21"
2121
bincode = "1.3"
22+
postcard = { version = "1.1", default-features = false, features = ["use-std"] }
2223
serde = "1.0"
2324
serde_json = "1.0"
2425
async-trait = "0.1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE pending_msgs DROP COLUMN is_postcard;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE pending_msgs ADD COLUMN is_postcard BOOLEAN NOT NULL DEFAULT false;

misc/test-client/Cargo.lock

Lines changed: 61 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/test-client/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ name = "test-client"
33
version = "0.1.0"
44
edition = "2021"
55

6+
[features]
7+
default = ["postcard"]
8+
postcard = ["star-constellation/postcard"]
9+
bincode = ["star-constellation/bincode"]
10+
611
[dependencies]
7-
star-constellation = "0.2"
12+
star-constellation = { version = "0.4.0", default-features = false }
813
base64 = "0.21"
914
rand = "0.8"
1015
clap = { version = "4.5", features = ["derive"] }

0 commit comments

Comments
 (0)