Rename crates

This commit is contained in:
Pranav Gaddamadugu 2024-03-15 16:26:09 -07:00
parent e351b3c043
commit bcab1fc864
9 changed files with 294 additions and 280 deletions

440
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -58,10 +58,6 @@ default = [ ]
ci_skip = [ "leo-compiler/ci_skip" ]
noconfig = [ ]
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.leo-ast]
path = "./compiler/ast"
version = "=1.10.0"
@ -86,10 +82,14 @@ version = "=1.10.0"
path = "./compiler/span"
version = "=1.10.0"
[dependencies.retriever]
[dependencies.leo-retriever]
path = "./utils/retriever"
version = "1.10.0"
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.backtrace]
version = "0.3.68"

View File

@ -15,7 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
use super::*;
use retriever::{Dependency, Location, Manifest, Network};
use leo_retriever::{Dependency, Location, Manifest, Network};
use std::path::PathBuf;
/// Clean outputs folder command

View File

@ -20,8 +20,8 @@ use leo_ast::Stub;
use leo_compiler::{Compiler, CompilerOptions, OutputOptions};
use leo_errors::UtilError;
use leo_package::{build::BuildDirectory, outputs::OutputsDirectory, source::SourceDirectory};
use leo_retriever::Retriever;
use leo_span::Symbol;
use retriever::Retriever;
use snarkvm::{
package::Package,

View File

@ -18,12 +18,12 @@ use super::*;
use aleo_std;
use leo_errors::{CliError, PackageError, Result};
use leo_package::build::{BuildDirectory, BUILD_DIRECTORY_NAME};
use leo_retriever::LockFileEntry;
use snarkvm::file::Manifest;
use aleo_std::aleo_dir;
use indexmap::IndexMap;
use retriever::LockFileEntry;
use std::{
env::current_dir,
fs::File,

View File

@ -18,19 +18,20 @@ license = "GPL-3.0"
edition = "2021"
rust-version = "1.69"
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.leo-errors]
path = "../../errors"
version = "=1.10.0"
[dependencies.leo-retriever]
path = "../../utils/retriever"
version = "1.10.0"
[dependencies.snarkvm]
workspace = true
#[dependencies.snarkos-cli]
#version = "2.2.4"
[dependencies.leo-errors]
path = "../../errors"
version = "=1.10.0"
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.indexmap]
version = "1.9"
@ -46,16 +47,15 @@ features = [ "derive" ]
[dependencies.serial_test]
version = "3.0.0"
#[dependencies.snarkos-cli]
#version = "2.2.4"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.retriever]
path = "../../utils/retriever"
version = "1.10.0"
[dev-dependencies.lazy_static]
version = "1.3.0"

View File

@ -1,8 +1,8 @@
[package]
name = "disassembler"
name = "leo-disassembler"
version = "1.10.0"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Compiler passes for the Leo programming language"
description = "A disassembler for the Leo programming language"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/leo"
keywords = [
@ -34,4 +34,4 @@ version = "1.10.0"
[dependencies.leo-errors]
path = "../../errors"
version = "1.10.0"
version = "1.10.0"

View File

@ -1,9 +1,50 @@
[package]
name = "retriever"
name = "leo-retriever"
version = "1.10.0"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "A retriever for the Leo programming language"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/leo"
keywords = [
"aleo",
"cryptography",
"leo",
"programming-language",
"zero-knowledge"
]
categories = [ "compilers", "cryptography", "web-programming" ]
include = [ "Cargo.toml", "src", "README.md", "LICENSE.md" ]
license = "GPL-3.0"
edition = "2021"
rust-version = "1.69"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.leo-ast]
version = "1.10.0"
path = "../../compiler/ast"
[dependencies.leo-disassembler]
version = "1.10.0"
path = "../disassembler"
[dependencies.leo-errors]
path = "../../errors"
version = "=1.10.0"
[dependencies.leo-passes]
version = "1.10.0"
path = "../../compiler/passes"
[dependencies.leo-span]
version = "1.10.0"
path = "../../compiler/span"
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.indexmap]
version = "1.9"
features = [ "serde-1" ]
[dependencies.serde]
version = "1.0"
@ -12,44 +53,17 @@ features = [ "derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.leo-errors]
path = "../../errors"
version = "=1.10.0"
[dependencies.indexmap]
version = "1.9"
features = [ "serde-1" ]
[dependencies.leo-ast]
version = "1.9.4"
path = "../../compiler/ast"
[dependencies.toml]
version = "0.8.12"
[dependencies.aleo-std]
version = "0.1.24"
default-features = false
[dependencies.disassembler]
version = "1.10.0"
path = "../disassembler"
[dependencies.serial_test]
version = "3.0.0"
[dependencies.sha2]
version = "0.10.8"
[dependencies.serial_test]
version = "3.0.0"
[dependencies.tempfile]
version = "3.10.1"
[dependencies.leo-span]
version = "1.9.4"
path = "../../compiler/span"
[dependencies.toml]
version = "0.8.12"
[dependencies.ureq]
version = "2.9"
[dependencies.leo-passes]
version = "1.9.4"
path = "../../compiler/passes"
[dependencies]
tempfile = "3.10.1"

View File

@ -14,9 +14,9 @@
// You should have received a copy of the GNU General Public License
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
use disassembler::disassemble_from_str;
use indexmap::{IndexMap, IndexSet};
use leo_ast::Stub;
use leo_disassembler::disassemble_from_str;
use leo_errors::UtilError;
use leo_passes::{common::DiGraph, DiGraphError};
use leo_span::Symbol;