Skip to content

Commit

Permalink
refactor: renames iroh-sync & iroh-bytes (#2271)
Browse files Browse the repository at this point in the history
Aligns naming with actual usage.

## Breaking Changes

- crate rename: 
  - `iroh-bytes` -> `iroh-blobs`
  - `iroh-sync` -> `iroh-docs`
- module rename:
  - `iroh::bytes` -> `iroh::blobs`
  - `iroh::sync` -> `iroh::docs`


Closes #2270,#2269
  • Loading branch information
dignifiedquire authored May 6, 2024
1 parent 3280570 commit 1c7db35
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
# uses: obi1kenobi/cargo-semver-checks-action@v2
uses: n0-computer/cargo-semver-checks-action@feat-baseline
with:
package: iroh, iroh-base, iroh-bytes, iroh-cli, iroh-dns-server, iroh-gossip, iroh-metrics, iroh-net, iroh-sync
package: iroh, iroh-base, iroh-blobs, iroh-cli, iroh-dns-server, iroh-gossip, iroh-metrics, iroh-net, iroh-docs
baseline-rev: ${{ env.HEAD_COMMIT_SHA }}
use-cache: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
SCCACHE_CACHE_SIZE: "50G"
CRATES_LIST: "iroh,iroh-bytes,iroh-gossip,iroh-metrics,iroh-net,iroh-sync,iroh-test,iroh-cli,iroh-dns-server"
CRATES_LIST: "iroh,iroh-blobs,iroh-gossip,iroh-metrics,iroh-net,iroh-docs,iroh-test,iroh-cli,iroh-dns-server"

jobs:
build_and_test_nix:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
uses: taiki-e/install-action@v2
with:
tool: nextest

- name: Install sccache
uses: mozilla-actions/[email protected]

Expand Down
84 changes: 42 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[workspace]
members = [
"iroh",
"iroh-bytes",
"iroh-blobs",
"iroh-base",
"iroh-dns-server",
"iroh-gossip",
"iroh-metrics",
"iroh-net",
"iroh-sync",
"iroh-docs",
"iroh-test",
"iroh-net/bench",
"iroh-cli"
Expand Down

0 comments on commit 1c7db35

Please sign in to comment.