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