Skip to content

Commit

Permalink
chore: add licenses and update descriptions in license (#1090)
Browse files Browse the repository at this point in the history
* chore: update license and description of crates

* chore: add rv32-adapters to layout
  • Loading branch information
jonathanpwang authored Dec 16, 2024
1 parent b823f27 commit 1456ac1
Show file tree
Hide file tree
Showing 43 changed files with 141 additions and 59 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
version = "0.1.0-alpha"
edition = "2021"
rust-version = "1.82"
authors = ["Intrinsic Technologies"]
authors = ["OpenVM Authors"]
homepage = "https://openvm.dev"
repository = "https://github.com/openvm-org/"
license = "MIT"

[workspace]
members = [
Expand Down
1 change: 1 addition & 0 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-build.workspace = true
Expand Down
8 changes: 6 additions & 2 deletions crates/circuits/mod-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "openvm-mod-circuit-builder"
version = "0.1.0"
edition = "2021"
description = "Modular arithmetic framework for building OpenVM circuits."
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-stark-backend = { workspace = true }
Expand Down
3 changes: 3 additions & 0 deletions crates/circuits/poseidon2-air/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "openvm-poseidon2-air"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
p3-monty-31 = { workspace = true }
Expand Down
5 changes: 4 additions & 1 deletion crates/circuits/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[package]
name = "openvm-circuit-primitives"
description = "Library of plonky3 primitives for general purpose use in other ZK circuits."
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Library of plonky3 primitives for general purpose use in other ZK circuits."
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-stark-backend = { workspace = true }
Expand Down
6 changes: 5 additions & 1 deletion crates/circuits/primitives/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "openvm-circuit-primitives-derive"
description = "Procedural macros for writing circuits as AIRs."
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Procedural macros for writing circuits as AIRs."
homepage.workspace = true
repository.workspace = true
license.workspace = true

[lib]
proc-macro = true
Expand Down
4 changes: 4 additions & 0 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name = "cargo-openvm"
description = "OpenVM CLI tools"
readme = "README.md"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[build-dependencies]
vergen = { version = "8", default-features = false, features = [
Expand Down
1 change: 1 addition & 0 deletions crates/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-algebra-circuit = { workspace = true }
Expand Down
3 changes: 2 additions & 1 deletion crates/toolchain/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "openvm-build"
description = "OpenVM build tools"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
description = "OpenVM build tools"
license.workspace = true

[dependencies]
openvm-platform = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/toolchain/instructions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-stark-backend.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/toolchain/instructions/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[lib]
proc-macro = true
Expand Down
3 changes: 1 addition & 2 deletions crates/toolchain/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[package]
name = "openvm-macros-common"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

Expand Down
11 changes: 6 additions & 5 deletions crates/toolchain/openvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "openvm"
description = "OpenVM standard Rust library for guest programs."
version = { workspace = true }
edition = { workspace = true }
# license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
openvm-platform = { workspace = true, features = [
Expand Down
10 changes: 5 additions & 5 deletions crates/toolchain/platform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "openvm-platform"
description = "OpenVM Rust platform definitions."
version = { workspace = true }
edition = { workspace = true }
# license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
stability = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion crates/toolchain/tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "openvm-toolchain-tests"
description = "Tests for the OpenVM toolchain starting from Rust"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Tests for the OpenVM toolchain starting from Rust"

[dependencies]
openvm-circuit-primitives-derive.workspace = true
Expand Down
4 changes: 3 additions & 1 deletion crates/vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-circuit"
description = "OpenVM circuits"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "OpenVM circuits"
homepage.workspace = true
repository.workspace = true

[dependencies]
p3-symmetric = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/vm/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version.workspace = true
edition.workspace = true
authors.workspace = true
description = "Procedural macros for OpenVM circuits."
license.workspace = true

[lib]
proc-macro = true
Expand Down
1 change: 1 addition & 0 deletions docs/repo/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ The toolchain, ISA, and VM are simultaenously extendable. All non-system functio
- [`openvm-rv32im-circuit`](../../extensions/rv32im/circuit): Circuit extension for RV32IM instructions and IO instructions.
- [`openvm-rv32im-transpiler`](../../extensions/rv32im/transpiler): Transpiler extension for RV32IM instructions and IO instructions.
- [`openvm-rv32im-guest`](../../extensions/rv32im/guest): Guest library for RV32IM instructions and IO instructions. This is re-exported by the `openvm` crate for convenience.
- [`openvm-rv32-adapters`](../../extensions/rv32-adapters): Circuit adapters for other circuit extensions to use to be compatible with the RISC-V 32-bit architecture.

#### Native Recursion

Expand Down
9 changes: 6 additions & 3 deletions extensions/algebra/circuit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[package]
name = "openvm-algebra-circuit"
version = "0.1.0"
edition = "2021"
description = "Modular arithmetic circuits."
description = "OpenVM circuit extension for algebra (modular arithmetic)"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm-circuit-primitives = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/algebra/guest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-algebra-guest"
description = "OpenVM guest library for algebra over rings and fields, including modular and complex field arithmetic."
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "OpenVM guest library for algebra over rings and fields, including modular and Fp2 arithmetic."
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/algebra/transpiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-algebra-transpiler"
description = "OpenVM transpiler extension for algebra (modular arithmetic)"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Transpiler extension for modular arithmetic"
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm-stark-backend = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/bigint/circuit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-bigint-circuit"
description = "OpenVM circuit extension for uint256 and int256"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "OpenVM circuit extension for uint256 and int256"
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm-stark-backend = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/bigint/guest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-bigint-guest"
description = "OpenVM guest library for bigint"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Guest extension for Int256"
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/bigint/transpiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-bigint-transpiler"
description = "OpenVM transpiler extension for bigint"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Transpiler extension for bigint"
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm-stark-backend = { workspace = true }
Expand Down
9 changes: 6 additions & 3 deletions extensions/ecc/circuit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[package]
name = "openvm-ecc-circuit"
version = "0.1.0"
edition = "2021"
description = "Elliptic curve circuits."
description = "OpenVM circuit extension for elliptic curve cryptography"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm-circuit-primitives-derive = { workspace = true }
Expand Down
4 changes: 3 additions & 1 deletion extensions/ecc/guest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "openvm-ecc-guest"
description = "OpenVM guest library for elliptic curve cryptography"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "OpenVM guest elliptic curve cryptography library."
homepage.workspace = true
repository.workspace = true

[dependencies]
openvm = { workspace = true }
Expand Down
7 changes: 5 additions & 2 deletions extensions/ecc/sw-setup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "openvm-ecc-sw-setup"
version = { workspace = true }
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
syn = { version = "2.0", features = ["full"] }
Expand Down
Loading

0 comments on commit 1456ac1

Please sign in to comment.