Skip to content

Commit ac13c0c

Browse files
committed
JSON (#11): add json interface functionality
1 parent 490fa4e commit ac13c0c

File tree

11 files changed

+1677
-809
lines changed

11 files changed

+1677
-809
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
target
22
Cargo.lock
3-
db/
3+
db/
4+
.aider*

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
The purpose of this changelog is to document new features and breaking changes that are most likely to affect developers
33
------------------------------------------------------------------------------------------------------------------------
44

5+
--- v1.0.5 (2025.02.26) ---
6+
7+
- Add JSON <-> Scheme interface
8+
- Separate crypto primitives into separate namespace
9+
- Add unix time primitive
10+
511
--- v1.0.4 (2025.09.14) ---
612

713
- Modify core merkle tree structure to support "stumps" and branch digest propogation

Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "journal-sdk"
3-
version = "1.0.4"
4-
edition = "2021"
3+
version = "1.0.5"
4+
edition = "2024"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

@@ -13,7 +13,7 @@ version = "0.5.0"
1313
features = ["json"]
1414

1515
[build-dependencies]
16-
bindgen = "0.69.2"
16+
bindgen = "0.72.1"
1717
cc = "1.0.83"
1818

1919
[dependencies]
@@ -23,11 +23,12 @@ mockito = "1.4.0"
2323
once_cell = "1.19.0"
2424
rand = "0.8.5"
2525
reqwest = { version= "0.11.24", features = ["blocking"] }
26-
rocksdb = "0.21.0"
26+
rocksdb = "0.24.0"
2727
sha2 = "0.10.8"
2828
libc = "0.2"
2929
log = "0.4.21"
3030
env_logger = "0.10"
3131
crystals-dilithium = "1.0.0"
3232
pqcrypto = "0.17.0"
33-
tokio = { version = "1.0", features = ["time", "rt", "rt-multi-thread", "macros"] }
33+
tokio = { version = "1.0", features = ["time", "rt", "rt-multi-thread", "macros"] }
34+
serde_json = "1.0.149"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# --- Build ---
22

3-
FROM alpine:3.21.3 AS builder
3+
FROM alpine:3.23.3 AS builder
44

55
ARG RUST_LOG=info
66

@@ -24,7 +24,7 @@ RUN cargo build --release
2424

2525
# --- Deploy ---
2626

27-
FROM alpine:3.21.3
27+
FROM alpine:3.23.3
2828

2929
WORKDIR /srv
3030
COPY --from=builder /usr/lib/libgcc_s.so.1 /usr/lib/

0 commit comments

Comments
 (0)