Skip to content

Remove unused dependencies and disable unnecessary test targets#615

Merged
aram356 merged 2 commits intomainfrom
cleanup/remove-unused-dependencies
Apr 9, 2026
Merged

Remove unused dependencies and disable unnecessary test targets#615
aram356 merged 2 commits intomainfrom
cleanup/remove-unused-dependencies

Conversation

@aram356
Copy link
Copy Markdown
Collaborator

@aram356 aram356 commented Apr 3, 2026

Closes #614

Summary

  • Remove unused workspace deps: handlebars, pin-project-lite, tokio-test, tokio-stream
  • Remove log-fastly from trusted-server-core (only needed in the Fastly adapter)
  • Remove serde, serde_json, trusted-server-js from Fastly adapter (accessed transitively via trusted-server-core)
  • Promote trusted-server-core to a workspace dependency
  • Disable doctest on trusted-server-js and trusted-server-openrtb; disable test on trusted-server-js

Test plan

  • cargo check --workspace passes
  • cargo test --workspace passes
  • cargo build --package trusted-server-adapter-fastly --release --target wasm32-wasip1 succeeds

Drop handlebars, pin-project-lite, tokio-test, tokio-stream from the
workspace. Remove log-fastly from trusted-server-core, and serde,
serde_json, trusted-server-js from the Fastly adapter. Promote
trusted-server-core to a workspace dependency. Disable doctests on
trusted-server-js and trusted-server-openrtb crates, and disable the
test target on trusted-server-js since it has no Rust tests.
@aram356 aram356 self-assigned this Apr 3, 2026
Copy link
Copy Markdown
Collaborator

@prk-Jr prk-Jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good

Copy link
Copy Markdown
Collaborator

@ChristianPavilonis ChristianPavilonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good

@aram356 aram356 merged commit 0c2e401 into main Apr 9, 2026
13 checks passed
@aram356 aram356 deleted the cleanup/remove-unused-dependencies branch April 9, 2026 08:22
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.

Remove unused dependencies and disable unnecessary test targets

3 participants