File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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" ] }
2222anyhow = " 1.0.89"
2323console = " 0.15.8"
2424
Original file line number Diff line number Diff line change 22
33use std:: { path:: PathBuf , process:: exit} ;
44
5- use cbork_cddl_parser:: { parse_cddl , Extension } ;
5+ use cbork_cddl_parser:: { validate_cddl , Extension } ;
66use clap:: Parser ;
77use console:: { style, Emoji } ;
88
@@ -33,7 +33,7 @@ impl Cli {
3333/// Check the CDDL file, return any errors
3434fn 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
You can’t perform that action at this time.
0 commit comments