Skip to content

Commit

Permalink
update Cargo.toml for crates.io; add cloudflare support (Trust-Machin…
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki authored Feb 9, 2023
1 parent d826e36 commit a1ca6d0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .doc/cloudflare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
~/.cargo/bin/cargo doc --no-deps
cp ./.doc/index.html ./target/doc/
8 changes: 8 additions & 0 deletions .doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<ul>
<li>p256k1 documentation: <a href="/p256k1/">this link</a>.</li>
</ul>
</body>
</html>
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
name = "p256k1"
version = "1.0.0"
edition = "2021"
license = "Apache-2.0"
description = "Rust wrappers around libsecp256k1 which expose internal scalar and point APIs"
readme = "README.md"
repository = "https://github.com/Trust-Machines/p256k1/"
homepage = "https://p256k1.pages.dev/"
documentation = "https://p256k1.pages.dev/p256k1/"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down

0 comments on commit a1ca6d0

Please sign in to comment.