summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartikaya Gupta <kats@seldon.staktrace.com>2017-07-18 13:40:51 -0400
committerKartikaya Gupta <kats@seldon.staktrace.com>2017-07-18 13:40:51 -0400
commit9610b4ee8c04d783483e7daf9248865ae867539d (patch)
tree867db86f50cf793ff73e9645ad09b69914769a91
parentcda2a563db34b9bc43aeff58250f12f4b64e3573 (diff)
Add gitattributes for github linguist
-rw-r--r--.gitattributes1
-rw-r--r--Cargo.toml2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f795e12
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+target/doc/* linguist-generated=true
diff --git a/Cargo.toml b/Cargo.toml
index 6a97727..06407e3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,7 +10,7 @@ readme = "README.md"
keywords = ["parser", "email", "rfc822", "mime", "maildir"]
categories = ["email", "parsing"]
license = "0BSD"
-exclude = ["target/doc/**"]
+exclude = ["target/doc/**", ".gitattributes"]
[badges]
travis-ci = { repository = "staktrace/mailparse", branch = "master" }