Skip to content

Rename crates to trusted-server-core and trusted-server-adapter-fastly#517

Open
prk-Jr wants to merge 1 commit intomainfrom
feature/edgezero-pr1-crate-rename
Open

Rename crates to trusted-server-core and trusted-server-adapter-fastly#517
prk-Jr wants to merge 1 commit intomainfrom
feature/edgezero-pr1-crate-rename

Conversation

@prk-Jr
Copy link
Collaborator

@prk-Jr prk-Jr commented Mar 18, 2026

Summary

  • Rename crates/commoncrates/trusted-server-core and crates/fastlycrates/trusted-server-adapter-fastly to follow the EdgeZero naming convention
  • Add EdgeZero workspace dependencies (edgezero-core, edgezero-adapter-fastly, edgezero-adapter-axum, edgezero-adapter-cloudflare) pinned to rev 170b74b
  • Update all references to old crate names across docs, configuration, scripts, CI workflows, and agent/command files

Changes

File Change
Cargo.toml Replaced crates/common and crates/fastly workspace members; added EdgeZero deps; bumped toml to 1.0
crates/trusted-server-core/ Renamed from crates/common/ — all source files preserved
crates/trusted-server-adapter-fastly/ Renamed from crates/fastly/ — all source files preserved
fastly.toml Updated name and build script binary to trusted-server-adapter-fastly
CLAUDE.md / AGENTS.md Updated workspace layout, key file paths, and build commands
docs/guide/*.md Updated all crate path references
.claude/agents/*.md / .claude/commands/*.md Updated crate names in agent and command docs
.github/workflows/*.yml Updated workflow references to new crate names
scripts/integration-tests*.sh Updated script references
crates/integration-tests/ Updated runtime and browser setup references

Closes

Closes #482

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace
  • JS tests: cd crates/js/lib && npx vitest run
  • JS format: cd crates/js/lib && npm run format
  • Docs format: cd docs && npm run format
  • WASM build: cargo build --package trusted-server-adapter-fastly --release --target wasm32-wasip1
  • Manual testing via fastly compute serve

Checklist

  • Changes follow CLAUDE.md conventions
  • No unwrap() in production code — use expect("should ...")
  • Uses tracing macros (not println!)
  • New code has tests
  • No secrets or credentials committed

Rename crates/common → crates/trusted-server-core and crates/fastly →
crates/trusted-server-adapter-fastly following the EdgeZero naming
convention. Add EdgeZero workspace dependencies pinned to rev 170b74b.
Update all references across docs, CI workflows, scripts, agent files,
and configuration.
@prk-Jr prk-Jr self-assigned this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename crates and add EdgeZero workspace dependencies

1 participant