Skip to content

Commit

Permalink
Merge pull request #3 from dfns/publish-v0.1.0
Browse files Browse the repository at this point in the history
Publish v0.1.0
  • Loading branch information
maurges authored Nov 24, 2023
2 parents a1de6cc + 5995bb6 commit 4c06191
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
tags:
- 'v*'
workflow_dispatch:

name: Publish

env:
CARGO_TERM_COLOR: always
CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
publish-round-based:
name: Publish crate
environment: crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
name = "stark-curve"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Stark curve implementation"
repository = "https://github.com/dfns/stark-curve"
categories = ["cryptography", "no-std", "no-std::no-alloc"]
keywords = ["elliptic-curves", "stark-curve"]

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

Expand All @@ -21,3 +26,5 @@ starknet-ff = "0.2"

hex = "0.4"

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "katex-header.html"]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
![License](https://img.shields.io/crates/l/stark-curve.svg)
[![Docs](https://docs.rs/stark-curve/badge.svg)](https://docs.rs/stark-curve)
[![Crates io](https://img.shields.io/crates/v/stark-curve.svg)](https://crates.io/crates/stark-curve)

# Stark Curve

Pure Rust implementation of [Stark Curve][stark-specs]. Provides basic elliptic curve arithmetic backed by
Expand Down

0 comments on commit 4c06191

Please sign in to comment.