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:
@@ -20,31 +20,32 @@ license = false
|
||||
eula = false
|
||||
|
||||
[dependencies]
|
||||
aiken-lang = { path = "../aiken-lang", version = "1.0.31-alpha" }
|
||||
aiken-lsp = { path = "../aiken-lsp", version = "1.0.31-alpha" }
|
||||
aiken-project = { path = '../aiken-project', version = "1.0.31-alpha" }
|
||||
clap = { version = "4.1.8", features = [
|
||||
"derive",
|
||||
"wrap_help",
|
||||
"unicode",
|
||||
"string",
|
||||
] }
|
||||
clap_complete = "4.3.2"
|
||||
hex = "0.4.3"
|
||||
ignore = "0.4.20"
|
||||
indoc = "2.0"
|
||||
inquire = "0.6.2"
|
||||
miette = { version = "5.5.0", features = ["fancy"] }
|
||||
num-bigint = "0.4.3"
|
||||
ordinal = "0.3.2"
|
||||
owo-colors = { version = "3.5.0", features = ["supports-colors"] }
|
||||
pallas.workspace = true
|
||||
pallas-codec.workspace = true
|
||||
pallas-primitives.workspace = true
|
||||
pallas-traverse.workspace = true
|
||||
rand = "0.8.5"
|
||||
regex = "1.7.1"
|
||||
serde_json = "1.0.94"
|
||||
thiserror = "1.0.39"
|
||||
|
||||
aiken-lang = { path = "../aiken-lang", version = "1.0.31-alpha" }
|
||||
aiken-lsp = { path = "../aiken-lsp", version = "1.0.31-alpha" }
|
||||
aiken-project = { path = '../aiken-project', version = "1.0.31-alpha" }
|
||||
uplc = { path = '../uplc', version = "1.0.31-alpha" }
|
||||
clap_complete = "4.3.2"
|
||||
inquire = "0.6.2"
|
||||
num-bigint = "0.4.3"
|
||||
ordinal = "0.3.2"
|
||||
rand = "0.8.5"
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
xdg = "2.5.2"
|
||||
|
||||
@@ -12,7 +12,7 @@ use inquire;
|
||||
use num_bigint::BigInt;
|
||||
use ordinal::Ordinal;
|
||||
use owo_colors::{OwoColorize, Stream::Stderr};
|
||||
use pallas::ledger::primitives::alonzo::PlutusData;
|
||||
use pallas_primitives::alonzo::PlutusData;
|
||||
use std::{fs, path::PathBuf, process, str::FromStr};
|
||||
use uplc::ast::Data as UplcData;
|
||||
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
use clap::ValueEnum;
|
||||
use miette::IntoDiagnostic;
|
||||
use serde_json::json;
|
||||
use std::{env, fs::File, io::BufReader, path::PathBuf, process};
|
||||
|
||||
use aiken_project::{
|
||||
blueprint::{error::Error as BlueprintError, Blueprint},
|
||||
config::Config,
|
||||
error::Error as ProjectError,
|
||||
};
|
||||
use clap::ValueEnum;
|
||||
use miette::IntoDiagnostic;
|
||||
use serde_json::json;
|
||||
use std::{env, fs::File, io::BufReader, path::PathBuf, process};
|
||||
|
||||
/// Convert a blueprint into other formats.
|
||||
#[derive(clap::Args)]
|
||||
@@ -88,8 +87,7 @@ pub fn exec(
|
||||
|
||||
let mut double_cbor_bytes = Vec::new();
|
||||
|
||||
let mut cbor_encoder =
|
||||
pallas::codec::minicbor::Encoder::new(&mut double_cbor_bytes);
|
||||
let mut cbor_encoder = pallas_codec::minicbor::Encoder::new(&mut double_cbor_bytes);
|
||||
|
||||
cbor_encoder.bytes(&cbor_bytes).unwrap();
|
||||
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
use miette::IntoDiagnostic;
|
||||
use owo_colors::{OwoColorize, Stream::Stderr};
|
||||
use pallas::ledger::{
|
||||
primitives::{
|
||||
babbage::{Redeemer, TransactionInput, TransactionOutput},
|
||||
Fragment,
|
||||
},
|
||||
traverse::{Era, MultiEraTx},
|
||||
use pallas_primitives::{
|
||||
babbage::{Redeemer, TransactionInput, TransactionOutput},
|
||||
Fragment,
|
||||
};
|
||||
|
||||
use pallas_traverse::{Era, MultiEraTx};
|
||||
use std::{fmt, fs, path::PathBuf, process};
|
||||
use uplc::{
|
||||
machine::cost_model::ExBudget,
|
||||
|
||||
Reference in New Issue
Block a user