From 06b99c63e28690f45453cbe616231cfcfaf87574 Mon Sep 17 00:00:00 2001 From: Hugo Hakim Damer Date: Fri, 24 Jan 2025 17:51:08 +0100 Subject: [PATCH] fix(lib|sys): explicitly include LICENSE, README.md and NOTICE.md files in cargo publish --- libcoap-sys/Cargo.toml | 1 + libcoap/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/libcoap-sys/Cargo.toml b/libcoap-sys/Cargo.toml index 0b5a50f..44e4c2d 100644 --- a/libcoap-sys/Cargo.toml +++ b/libcoap-sys/Cargo.toml @@ -18,6 +18,7 @@ readme = "README.md" repository = "https://github.com/namib-project/libcoap-rs" authors = ["Hugo Hakim Damer "] categories = ["external-ffi-bindings", "network-programming", "embedded"] +include = ["/README.md", "/LICENSE", "/NOTICE.md"] keywords = ["coap", "libcoap"] exclude = ["src/libcoap/ext/"] resolver = "2" diff --git a/libcoap/Cargo.toml b/libcoap/Cargo.toml index 989e366..d53c0ce 100644 --- a/libcoap/Cargo.toml +++ b/libcoap/Cargo.toml @@ -14,6 +14,7 @@ version = "0.2.2" edition = "2021" license = "BSD-2-Clause" readme = "README.md" +include = ["/README.md", "/LICENSE", "/NOTICE.md"] repository = "https://github.com/namib-project/libcoap-rs" authors = ["Hugo Hakim Damer "] categories = ["api-bindings", "network-programming", "embedded"]