Browse Source

Create the cargo workspace, update README

master
Lev 2 years ago
parent
commit
32fdb27d38
  1. 7
      Cargo.toml
  2. 6
      README.md
  3. 8
      agolytics/Cargo.toml
  4. 8
      agolytics/src/lib.rs
  5. 8
      agorata_contracts/Cargo.toml
  6. 8
      agorata_contracts/src/lib.rs

7
Cargo.toml

@ -2,7 +2,12 @@
name = "agorata"
version = "0.1.0"
edition = "2021"
authors = ["ennucore <lev@ennucore.com>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"agolytics", "agorata_contracts"
]
[dependencies]

6
README.md

@ -1,3 +1,9 @@
![](https://agorata.io/logo_single.png)
# Agorata Core
The Core of Agorata written in Rust
`agorata_contracts/` contains the tools for representing smart contracts (as state machines).
`agolytics/` contains the tools for analyzing smart contracts.

8
agolytics/Cargo.toml

@ -0,0 +1,8 @@
[package]
name = "agolytics"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

8
agolytics/src/lib.rs

@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}

8
agorata_contracts/Cargo.toml

@ -0,0 +1,8 @@
[package]
name = "agorata_contracts"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

8
agorata_contracts/src/lib.rs

@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}
Loading…
Cancel
Save