chore: flat is taken in crates.io
This commit is contained in:
parent
f511dce353
commit
f7fba12a5f
|
@ -80,7 +80,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "flat"
|
||||
name = "flat-rs"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
|
@ -298,7 +298,7 @@ checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
|
|||
name = "uplc"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"flat",
|
||||
"flat-rs",
|
||||
"hex",
|
||||
"peg",
|
||||
"strum",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "flat"
|
||||
name = "flat-rs"
|
||||
description = "Flat codec"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
|
|
|
@ -13,7 +13,7 @@ exclude = ["test_data/*"]
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
flat = { path = "../flat", version = "0.0.1" }
|
||||
flat-rs = { path = "../flat", version = "0.0.1" }
|
||||
hex = "0.4.3"
|
||||
peg = "0.8.0"
|
||||
strum = "0.24.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use flat::de;
|
||||
use flat_rs::de;
|
||||
use strum_macros::EnumString;
|
||||
|
||||
/// All the possible builtin functions in Untyped Plutus Core.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::fmt::Debug;
|
||||
|
||||
use flat::{
|
||||
use flat_rs::{
|
||||
de::{self, Decode, Decoder},
|
||||
en::{self, Encode, Encoder},
|
||||
Flat,
|
||||
|
@ -398,7 +398,7 @@ pub fn decode_constant_tag(d: &mut Decoder) -> Result<u8, de::Error> {
|
|||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use flat::Flat;
|
||||
use flat_rs::Flat;
|
||||
|
||||
use crate::ast::Name;
|
||||
|
||||
|
|
Loading…
Reference in New Issue