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]] [[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",

View File

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

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

View File

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

View File

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