chore: include LICENSE in final crate tarball (#657)

Required for packaging in distributions such as Fedora and others.

Verified with:
$ cargo package --list | grep LICENSE
This commit is contained in:
Rodolfo Olivieri 2026-02-13 18:13:45 -03:00 • committed by GitHub
commit 453032faed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ edition = "2024"
version = "0.15.0"
authors = ["4t145 <u4t145@163.com>"]
license = "Apache-2.0"
license-file = "LICENSE"
repository = "https://github.com/modelcontextprotocol/rust-sdk/"
description = "Rust SDK for Model Context Protocol"
keywords = ["mcp", "sdk", "tokio", "modelcontextprotocol"]

View file

@ -3,6 +3,7 @@
[package]
name = "rmcp-macros"
license = { workspace = true }
license-file = { workspace = true }
version = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }

View file

@ -1,6 +1,7 @@
[package]
name = "rmcp"
license = { workspace = true }
license-file = { workspace = true }
version = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }