Skip to content

Commit 0b73873

Browse files
VaizCopilot
andauthored
fix: exclude assets from published packages (#70)
* Initial plan * Add exclude fields to reduce package size by ~3.1MB Co-authored-by: Vaiz <4908982+Vaiz@users.noreply.github.com> * Revert documentation URL change in rust-mcp-transport Cargo.toml Co-authored-by: Vaiz <4908982+Vaiz@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 42292f9 commit 0b73873

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

crates/rust-mcp-macros/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/rust-mcp-macros"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "macros"]
1010
license = "MIT"
1111
edition = "2021"
12+
exclude = ["assets/"]
1213

1314
[package.metadata.docs]
1415
description = "A procedural macro, part of the rust-mcp-sdk ecosystem, that derives the MCPToolSchema implementation for structs or enums, generating a tool_input_schema function used with rust_mcp_schema::Tool."

crates/rust-mcp-sdk/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/rust-mcp-sdk"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "sdk"]
1010
license = "MIT"
1111
edition = "2021"
12+
exclude = ["assets/", "tests/"]
1213

1314
[dependencies]
1415
rust-mcp-schema = { workspace = true, default-features = false }

crates/rust-mcp-transport/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/rust-mcp-transport"
99
keywords = ["rust-mcp-stack", "model", "context", "protocol", "sdk"]
1010
license = "MIT"
1111
edition = "2021"
12+
exclude = ["assets/"]
1213

1314
[dependencies]
1415

0 commit comments

Comments
 (0)