Make foreign `Language` type publicly available (#793)

* Make foreign type public available

* Fix formatting
This commit is contained in:
Mitchell Turner 2024-01-08 13:31:21 -08:00 committed by GitHub
parent 30a6b77116
commit 7992a50bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -11,9 +11,10 @@ use crate::{
use num_bigint::BigInt; use num_bigint::BigInt;
use num_traits::ToPrimitive; use num_traits::ToPrimitive;
use pallas_addresses::{Network, ShelleyAddress, ShelleyDelegationPart, ShelleyPaymentPart}; use pallas_addresses::{Network, ShelleyAddress, ShelleyDelegationPart, ShelleyPaymentPart};
pub use pallas_primitives::babbage::Language;
use pallas_primitives::{ use pallas_primitives::{
alonzo::{self as pallas, Constr, PlutusData}, alonzo::{self as pallas, Constr, PlutusData},
babbage::{self as cardano, Language}, babbage::{self as cardano},
}; };
use pallas_traverse::ComputeHash; use pallas_traverse::ComputeHash;
use serde::{ use serde::{