-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename to programs - and prefix internal crates with `entropy-program…
…s-` (#52) * Rename to programs * Missed name changes --------- Co-authored-by: jakehemmerle <[email protected]>
- Loading branch information
1 parent
0db40ea
commit eaa9fbc
Showing
41 changed files
with
146 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
[package] | ||
name = "ec-acl" | ||
name = "entropy-programs-acl" | ||
version = "0.1.0" | ||
authors = ["Entropy Cryptography <[email protected]>"] | ||
homepage = "https://entropy.xyz/" | ||
license = "AGPL-3.0-or-later" | ||
repository = "https://github.com/entropyxyz/constraints" | ||
repository = "https://github.com/entropyxyz/programs" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ec-core = { path = "../core", default-features = false } | ||
ec-evm = { path = "../evm", default-features = false, optional = true } | ||
entropy-programs-core = { path = "../core", default-features = false } | ||
entropy-programs-evm = { path = "../evm", default-features = false, optional = true } | ||
|
||
serde = { version = "1.0", default-features = false } | ||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ | ||
|
@@ -21,5 +19,5 @@ scale-info = { version = "2.1.0", default-features = false } | |
|
||
[features] | ||
default = ["std"] | ||
evm = ["dep:ec-evm"] | ||
std = ["ec-core/std", "codec/std", "evm"] | ||
evm = ["dep:entropy-programs-evm"] | ||
std = ["entropy-programs-core/std", "codec/std", "evm"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# `evm-acl` | ||
# `entropy-programs-acl` | ||
|
||
Provides access control list functionality over generic architectures. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
[package] | ||
name = "ec-core" | ||
name = "entropy-programs-core" | ||
version = "0.1.0" | ||
authors = ["Entropy Cryptography <[email protected]>"] | ||
homepage = "https://entropy.xyz/" | ||
license = "AGPL-3.0-or-later" | ||
repository = "https://github.com/entropyxyz/constraints" | ||
repository = "https://github.com/entropyxyz/programs" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
getrandom = { version = "0.2", default-features = false, features = ["custom"] } | ||
witgen = "0.15.0" | ||
|
@@ -21,8 +19,8 @@ wit-bindgen = { version = "0.7.0" } | |
# wasmtime ={ version = "10.0.1", default-features = false, features = ["component-model"] } | ||
|
||
[dev-dependencies] | ||
ec-acl = { path = "../acl", default-features = false, features = ["evm"] } | ||
ec-evm = { path = "../evm", default-features = false } | ||
entropy-programs-acl = { path = "../acl", default-features = false, features = ["evm"] } | ||
entropy-programs-evm = { path = "../evm", default-features = false } | ||
|
||
[features] | ||
default = ["std"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# `ec-core` | ||
# `entropy-programs-core` | ||
|
||
This contains core traits and types for writing modular constraints code, including constraints, runtimes, architectures (for writing architecture-agnostic constraints and dynamic parsing) and signature-request interfaces. | ||
This contains core traits and types for writing modular programs code, including programs, runtimes, architectures (for writing architecture-agnostic programs and dynamic parsing) and signature-request interfaces. | ||
|
||
## `.wit` | ||
|
||
User applications can generate and use the required WITs in two ways: | ||
|
||
1. `cargo component` - prefered, since this doesn't require the user to build the wasm-component manually; | ||
2. reexported from `ec-core` via `wit-bindgen` - this is a fallback for when `cargo component` is not available. | ||
2. reexported from `entropy-programs-core` via `wit-bindgen` - this is a fallback for when `cargo component` is not available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
[package] | ||
name = "ec-evm" | ||
name = "entropy-programs-evm" | ||
version = "0.1.0" | ||
authors = ["Entropy Cryptography <[email protected]>"] | ||
homepage = "https://entropy.xyz/" | ||
license = "AGPL-3.0-or-later" | ||
repository = "https://github.com/entropyxyz/constraints" | ||
repository = "https://github.com/entropyxyz/programs" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ec-core = { path = "../core" } | ||
entropy-programs-core = { path = "../core" } | ||
|
||
# EVM | ||
ethers-core = { version = "2.0.6", default-features = false } | ||
|
@@ -24,7 +22,6 @@ primitive-types = { version = "0.12.1", default-features = false, features = [ | |
serde = { version = "1.0", default-features = false } | ||
# ethereum = { version = "0.14.0", default-features = false, features = ["with-serde"]} | ||
|
||
|
||
[features] | ||
default = [] | ||
# std = ["rlp/std", "primitive-types/std", "getrandom", "getrandom/std", "ethereum/std"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# `ec-evm` | ||
# `entropy-programs-evm` | ||
|
||
Provides the EVM `Architecture`, adding EVM support to generic constraints (not specific to Ethereum Mainnet). | ||
Provides the EVM `Architecture`, adding EVM support to generic programs (not specific to Ethereum Mainnet). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,15 @@ version = "0.1.0" | |
authors = ["Entropy Cryptography <[email protected]>"] | ||
homepage = "https://entropy.xyz/" | ||
license = "Unlicense" | ||
repository = "https://github.com/entropyxyz/constraints" | ||
repository = "https://github.com/entropyxyz/programs" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
# This is required to compile constraints to a wasm module | ||
# This is required to compile programs to a wasm module | ||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
ec-core = { workspace = true } | ||
entropy-programs-core = { workspace = true } | ||
|
||
# These are used by `cargo component` | ||
[package.metadata.component] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,17 @@ version = "0.1.0" | |
authors = ["Entropy Cryptography <[email protected]>"] | ||
homepage = "https://entropy.xyz/" | ||
license = "Unlicense" | ||
repository = "https://github.com/entropyxyz/constraints" | ||
repository = "https://github.com/entropyxyz/programs" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
# This is required to compile constraints to a wasm module | ||
# This is required to compile programs to a wasm module | ||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
ec-core = { workspace = true } | ||
entropy-programs-core = { workspace = true } | ||
|
||
# These are used by `cargo component` | ||
[package.metadata.component] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.