From 1b66c2de01a8f668003e5855cd9d852380d6c12c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 16 Nov 2017 01:13:30 +0000 Subject: [PATCH 1/5] Include rustdoc-include-katex-header.html in package. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 17b6ca4..4fccd1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,10 @@ categories = ["cryptography", "no-std"] keywords = ["cryptography", "curve25519", "elliptic", "curve", "ECC"] description = "A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19)." exclude = [ - ".gitignore" + ".gitignore", +] +include = [ + "rustdoc-include-katex-header.html", ] [package.metadata.docs.rs] From 37a56bf2ba20e14d6c8ca62a46ff039462ae2d72 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 16 Nov 2017 01:13:57 +0000 Subject: [PATCH 2/5] Exclude .travis.yml from packages. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 4fccd1e..674d67d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,7 @@ keywords = ["cryptography", "curve25519", "elliptic", "curve", "ECC"] description = "A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19)." exclude = [ ".gitignore", + ".travis.yml", ] include = [ "rustdoc-include-katex-header.html", From a6806eacc39a8f9eb43fb45ff5ab13c8ded22cc4 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 16 Nov 2017 01:18:46 +0000 Subject: [PATCH 3/5] Bump curve25519-dalek version to 0.13.2. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 674d67d..8258373 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curve25519-dalek" -version = "0.13.1" +version = "0.13.2" authors = ["Isis Lovecruft ", "Henry de Valence "] readme = "README.md" From f6f7059dbe2a8c270281ee6b861b1f6ea1294810 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 16 Nov 2017 01:30:19 +0000 Subject: [PATCH 4/5] Avoid making a package with literally only one HTML file, lol. --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8258373..34b0b88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,9 +15,6 @@ exclude = [ ".gitignore", ".travis.yml", ] -include = [ - "rustdoc-include-katex-header.html", -] [package.metadata.docs.rs] rustdoc-args = ["--html-in-header", "rustdoc-include-katex-header.html"] From 3de2bf0ddc068634c1c6226af207de2e5e8b78c0 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 16 Nov 2017 01:32:23 +0000 Subject: [PATCH 5/5] No idea how this XSS will work when the hash after "github.com-" changes. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 34b0b88..fae9e95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ exclude = [ ] [package.metadata.docs.rs] -rustdoc-args = ["--html-in-header", "rustdoc-include-katex-header.html"] +rustdoc-args = ["--html-in-header", ".cargo/registry/src/github.com-1ecc6299db9ec823/curve25519-dalek-0.13.2/rustdoc-include-katex-header.html"] [badges] travis-ci = { repository = "isislovecruft/curve25519-dalek", branch = "master"}