rename core-packages -> core

This commit is contained in:
collin 2020-10-30 17:36:48 -07:00
parent a8c5885836
commit 4da923eec4
27 changed files with 24 additions and 24 deletions

6
Cargo.lock generated
View File

@ -1250,7 +1250,7 @@ dependencies = [
"bincode",
"hex",
"leo-ast",
"leo-core-packages",
"leo-core",
"leo-gadgets",
"leo-grammar",
"leo-imports",
@ -1279,7 +1279,7 @@ dependencies = [
]
[[package]]
name = "leo-core-packages"
name = "leo-core"
version = "1.0.3"
dependencies = [
"leo-ast",
@ -1434,7 +1434,7 @@ name = "leo-symbol-table"
version = "1.0.3"
dependencies = [
"leo-ast",
"leo-core-packages",
"leo-core",
"leo-grammar",
"leo-imports",
"serde",

View File

@ -28,7 +28,7 @@ path = "leo/main.rs"
members = [
"ast",
"compiler",
"core-packages",
"core",
"gadgets",
"grammar",
"imports",

View File

@ -21,8 +21,8 @@ edition = "2018"
path = "../ast"
version = "1.0.3"
[dependencies.leo-core-packages]
path = "../core-packages"
[dependencies.leo-core]
path = "../core"
version = "1.0.3"
[dependencies.leo-gadgets]

View File

@ -16,7 +16,7 @@
use crate::errors::{AddressError, BooleanError, FieldError, FunctionError, GroupError, IntegerError, ValueError};
use leo_ast::{Error as FormattedError, Identifier, Span};
use leo_core_packages::LeoCorePackageError;
use leo_core::LeoCorePackageError;
use snarkos_errors::gadgets::SynthesisError;
use std::path::Path;

View File

@ -15,7 +15,7 @@
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
use leo_ast::{Error as FormattedError, Identifier, ImportSymbol, Span};
use leo_core_packages::LeoCorePackageError;
use leo_core::LeoCorePackageError;
#[derive(Debug, Error)]
pub enum ImportError {

View File

@ -17,7 +17,7 @@ use crate::{program::ConstrainedProgram, value::ConstrainedValue, GroupType};
use crate::errors::{ExpressionError, FunctionError};
use leo_ast::{Expression, Span, Type};
use leo_core_packages::call_core_circuit;
use leo_core::call_core_circuit;
use snarkos_models::{
curves::{Field, PrimeField},
gadgets::r1cs::ConstraintSystem,

View File

@ -17,7 +17,7 @@
use crate::{new_scope, ConstrainedProgram, ConstrainedValue, GroupType};
use leo_ast::Package;
use leo_core_packages::{CorePackageList, LeoCorePackageError};
use leo_core::{CorePackageList, LeoCorePackageError};
use snarkos_models::curves::{Field, PrimeField};
impl<F: Field + PrimeField, G: GroupType<F>> ConstrainedProgram<F, G> {

View File

@ -27,7 +27,7 @@ use crate::{
Integer,
};
use leo_ast::{Circuit, Function, GroupValue, Identifier, Span, Type};
use leo_core_packages::Value;
use leo_core::Value;
use snarkos_errors::gadgets::SynthesisError;
use snarkos_models::{

View File

@ -1,5 +1,5 @@
[package]
name = "leo-core-packages"
name = "leo-core"
version = "1.0.3"
authors = [ "The Aleo Team <hello@aleo.org>" ]
description = "Core package dependencies of the Leo programming language"
@ -17,14 +17,14 @@ include = [ "Cargo.toml", "src", "README.md", "LICENSE.md" ]
license = "GPL-3.0"
edition = "2018"
[dependencies.leo-gadgets]
path = "../gadgets"
version = "1.0.3"
[dependencies.leo-ast]
path = "../ast"
version = "1.0.3"
[dependencies.leo-gadgets]
path = "../gadgets"
version = "1.0.3"
[dependencies.snarkos-errors]
version = "1.1.3"
default-features = false

View File

@ -17,16 +17,16 @@ include = [ "Cargo.toml", "src", "README.md", "LICENSE.md" ]
license = "GPL-3.0"
edition = "2018"
[dependencies.leo-grammar]
path = "../grammar"
version = "1.0.3"
[dependencies.leo-ast]
path = "../ast"
version = "1.0.3"
[dependencies.leo-core-packages]
path = "../core-packages"
[dependencies.leo-core]
path = "../core"
version = "1.0.3"
[dependencies.leo-grammar]
path = "../grammar"
version = "1.0.3"
[dependencies.leo-imports]

View File

@ -16,7 +16,7 @@
use crate::{TypeError, UserDefinedType};
use leo_ast::{Error as FormattedError, ImportSymbol, Program, Span};
use leo_core_packages::{CorePackageListError, LeoCorePackageError};
use leo_core::{CorePackageListError, LeoCorePackageError};
use std::path::Path;

View File

@ -16,7 +16,7 @@
use crate::{CircuitType, CircuitVariableType, FunctionType, ImportedSymbols, SymbolTableError, UserDefinedType};
use leo_ast::{Circuit, Function, Identifier, ImportStatement, ImportSymbol, Input, Package, Program};
use leo_core_packages::CorePackageList;
use leo_core::CorePackageList;
use leo_imports::ImportParser;
use std::collections::{HashMap, HashSet};