updates to cargo so builds work

This commit is contained in:
Chris Cochrun 2024-12-05 17:31:06 -06:00
parent 5340d5906f
commit fa078e8d3f
3 changed files with 16 additions and 2 deletions

2
Cargo.lock generated
View file

@ -88,7 +88,7 @@ dependencies = [
[[package]]
name = "crisp"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"lazy_static",
"miette",

View file

@ -1,6 +1,6 @@
[package]
name = "crisp"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
[lib]

View file

@ -197,3 +197,17 @@ impl std::fmt::Display for Keyword {
std::fmt::Display::fmt(&self.0, f)
}
}
#[cfg(test)]
mod test {
use super::*;
#[test]
fn test_conversions() {
let value = Value::Symbol(Symbol("c1".to_owned()));
dbg!(&value);
let string = String::from("c1");
let convert = String::from(value);
assert_eq!(string, convert);
}
}