Skip to content

Commit 598a003

Browse files
sanityclaude
andauthored
Release v0.1.5 (#1636)
Co-authored-by: Claude <[email protected]>
1 parent 172ba22 commit 598a003

File tree

30 files changed

+253
-222
lines changed

30 files changed

+253
-222
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
access_token: ${{ github.token }}
2727

2828
- uses: actions/checkout@v4
29-
with:
30-
submodules: true
3129

3230
- uses: dtolnay/rust-toolchain@stable
3331
with:
@@ -40,9 +38,6 @@ jobs:
4038
shared-key: "rust-cache"
4139
save-if: ${{ github.ref == 'refs/heads/main' }}
4240

43-
- name: Install stdlib packages
44-
working-directory: stdlib/typescript
45-
run: npm run dev.package
4641

4742
- name: Build
4843
run: |
@@ -70,8 +65,6 @@ jobs:
7065
access_token: ${{ github.token }}
7166

7267
- uses: actions/checkout@v4
73-
with:
74-
submodules: true
7568

7669
- uses: dtolnay/rust-toolchain@stable
7770
with:
@@ -100,8 +93,6 @@ jobs:
10093

10194
steps:
10295
- uses: actions/checkout@v4
103-
with:
104-
submodules: true
10596

10697
- uses: dtolnay/rust-toolchain@stable
10798
with:

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ tracing-subscriber = "0.3"
3232
wasmer = "5.0.4"
3333
wasmer-compiler-singlepass = "5.0.4"
3434

35-
freenet-stdlib = { path = "./stdlib/rust/" }
36-
# freenet-stdlib = { version = "0.1.5" }
35+
freenet-stdlib = { version = "0.1.6" }
3736

3837
[profile.dev.package."*"]
3938
opt-level = 3

apps/freenet-email-app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ serde_json = "1"
2121
once_cell = "1"
2222

2323
# freenet-stdlib = { version = "0.0.7" }
24-
freenet-stdlib = { path = "../../stdlib/rust" }
24+
freenet-stdlib = { version = "0.1.6" }
2525
freenet-aft-interface = { path = "../../modules/antiflood-tokens/interfaces" }

apps/freenet-microblogging/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ panic = 'abort'
1414
strip = true
1515

1616
[workspace.dependencies]
17-
freenet-stdlib = { path = "../../stdlib/rust", default-features = false, features = ["contract"] }
17+
freenet-stdlib = { version = "0.1.6", default-features = false, features = ["contract"] }
1818

1919
#[target.wasm32-unknown-unknown]
2020
#rustflags = ["-C", "link-arg=--import-memory"]

apps/freenet-ping/CLAUDE.local.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Freenet Ping App - Important Notes
2+
3+
## Workspace Structure
4+
5+
This app has its own Cargo workspace defined in `Cargo.toml`. This is important because:
6+
7+
1. The app defines its own workspace dependencies that are inherited by its members (contracts/ping, app, types)
8+
2. When using `workspace = true` in member crates, they refer to THIS workspace, not the parent workspace
9+
3. Dependencies like `freenet-stdlib` must be explicitly versioned in this workspace's `[workspace.dependencies]` section
10+
11+
## Building with fdev
12+
13+
When `fdev build` runs for contracts, it builds them in isolation. This means:
14+
- Workspace dependencies must be properly defined in the app's workspace
15+
- The app workspace cannot use `workspace = true` to inherit from the parent workspace
16+
- All dependencies must be explicitly versioned or use path dependencies
17+
18+
## Current Dependencies
19+
20+
- `freenet-stdlib = { version = "0.1.6", features = ["contract"] }` - Defined in app workspace
21+
- Members use `freenet-stdlib = { workspace = true }` to inherit from app workspace

0 commit comments

Comments
 (0)