From aa6d626e9dd008b75e15a0a92a9a254aea815022 Mon Sep 17 00:00:00 2001 From: Philip Craig Date: Fri, 26 Jul 2024 14:57:55 +1000 Subject: [PATCH] Change Cargo.toml from excludes to includes This removes rustfmt.toml and .gitignore from the package. --- Cargo.toml | 11 ++++++++++- rustfmt.toml | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 rustfmt.toml diff --git a/Cargo.toml b/Cargo.toml index b6ba22a..763893b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,6 @@ name = "addr2line" version = "0.24.0" description = "A cross-platform symbolication library written in Rust, using `gimli`" documentation = "https://docs.rs/addr2line" -exclude = ["/benches/*", "/fixtures/*", ".github", "*.sh", "*.r"] keywords = ["DWARF", "debug", "elf", "symbolicate", "atos"] categories = ["development-tools::debugging"] license = "Apache-2.0 OR MIT" @@ -11,6 +10,16 @@ readme = "./README.md" repository = "https://github.com/gimli-rs/addr2line" edition = "2018" rust-version = "1.65" +include = [ + "/CHANGELOG.md", + "/Cargo.lock", + "/Cargo.toml", + "/LICENSE-APACHE", + "/LICENSE-MIT", + "/README.md", + "/src", + "/tests", +] [dependencies] gimli = { version = "0.31.0", default-features = false, features = ["read"] } diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index 8b13789..0000000 --- a/rustfmt.toml +++ /dev/null @@ -1 +0,0 @@ -