chore: flat is taken in crates.io

This commit is contained in:
rvcas 2022-06-14 19:11:00 -04:00
parent f511dce353
commit f7fba12a5f
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
5 changed files with 7 additions and 7 deletions

4
Cargo.lock generated
View File

@ -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",

View File

@ -1,5 +1,5 @@
[package]
name = "flat"
name = "flat-rs"
description = "Flat codec"
version = "0.0.1"
edition = "2021"

View File

@ -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"

View File

@ -1,4 +1,4 @@
use flat::de;
use flat_rs::de;
use strum_macros::EnumString;
/// All the possible builtin functions in Untyped Plutus Core.

View File

@ -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;