Skip to content

Commit a3eb84b

Browse files
Update 'cbork-cddl-parser' dependency to use revision isntead of tag
1 parent c2077f2 commit a3eb84b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rust/cbork/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ workspace = true
1515
[dependencies]
1616
# Always used a versioned dependency, so that changes to dependent libraries do not cause cascading
1717
# breakage inside the repo.
18-
cbork-cddl-parser = {version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "v0.0.3" }
18+
cbork-cddl-parser = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", rev = "r20250204-00" }
1919
# Only use this for testing - do not change dependency to this in checked in code.
2020
#cbork-cddl-parser = { path = "../cbork-cddl-parser", version = "0.1.0" }
21-
clap = { version = "4.5.19", features = ["derive", "env"] }
21+
clap = { version = "4.5.19", features = ["derive", "env"] }
2222
anyhow = "1.0.89"
2323
console = "0.15.8"
2424

rust/cbork/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use std::{path::PathBuf, process::exit};
44

5-
use cbork_cddl_parser::{parse_cddl, Extension};
5+
use cbork_cddl_parser::{validate_cddl, Extension};
66
use clap::Parser;
77
use console::{style, Emoji};
88

@@ -33,7 +33,7 @@ impl Cli {
3333
/// Check the CDDL file, return any errors
3434
fn check_file(file_path: &PathBuf) -> anyhow::Result<()> {
3535
let mut content = std::fs::read_to_string(file_path)?;
36-
parse_cddl(&mut content, &Extension::CDDLParser)?;
36+
validate_cddl(&mut content, &Extension::CDDL)?;
3737
Ok(())
3838
}
3939

0 commit comments

Comments
 (0)