Prune pallas dependencies.

Using 'pallas' as a dependency brings utxo-rpc other annoying dependencies such as _tokyo_. This not only makes the overall build longer, but it also prevents it to even work when targetting wasm.
This commit is contained in:
KtorZ
2024-08-03 14:14:49 +02:00
parent 09c065d332
commit 4645257e62
15 changed files with 73 additions and 499 deletions

View File

@@ -14,22 +14,22 @@ authors = [
rust-version = "1.66.1"
[dependencies]
blst = "0.3.11"
hex = "0.4.3"
indexmap = "1.9.2"
indoc = "2.0.1"
itertools = "0.10.5"
miette = "5.9.0"
num-bigint = "0.4.3"
ordinal = "0.3.2"
owo-colors = { version = "3.5.0", features = ["supports-colors"] }
pallas.workspace = true
pallas-primitives.workspace = true
petgraph = "0.6.3"
serde = { version = "1.0.197", features = ["derive", "rc"] }
strum = "0.24.1"
thiserror = "1.0.39"
vec1 = "1.10.1"
uplc = { path = '../uplc', version = "1.0.31-alpha" }
num-bigint = "0.4.3"
petgraph = "0.6.3"
blst = "0.3.11"
serde = { version = "1.0.197", features = ["derive", "rc"] }
vec1 = "1.10.1"
[target.'cfg(not(target_family="wasm"))'.dependencies]
chumsky = "0.9.2"

View File

@@ -15,7 +15,7 @@ use crate::{
},
};
use indexmap::IndexMap;
use pallas::ledger::primitives::alonzo::{Constr, PlutusData};
use pallas_primitives::alonzo::{Constr, PlutusData};
use std::{fmt::Debug, rc::Rc};
use uplc::{
ast::Data,

View File

@@ -1,4 +1,4 @@
use pallas::ledger::primitives::conway::Language;
use pallas_primitives::conway::Language;
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Deserialize, Serialize, Clone, Copy, PartialEq)]