diff --git a/Cargo.lock b/Cargo.lock index 3a8b718..3291946 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -611,7 +611,7 @@ dependencies = [ [[package]] name = "xml_file_splitter" -version = "0.1.3" +version = "0.1.4" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index be90e14..201b6ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xml_file_splitter" -version = "0.1.3" +version = "0.1.4" edition = "2024" repository = "https://github.com/ialarmedalien/xml_file_splitter" diff --git a/README.md b/README.md index c56379c..6e7095c 100644 --- a/README.md +++ b/README.md @@ -52,10 +52,15 @@ path/to/output/dir/chunk_00003.xml.gz - `chunk-size`, default `100000`: number of elements per output file - `output-prefix`, default `part`: path to the output file and the prefix to use for each output file. The prefix is appended with `_nnnnn.xml`, a zero-padded digit representing the number of the file in the sequence. - `gzip`: whether or not the output files should be gzip compressed; include the parameter if the output files should be gzipped. +- `validate`: whether or not to validate the output files; include the parameter to validate them. ## Changelog +### v0.1.4 + +- Add in output validation. + ### v0.1.3 - Minor code change to emit a note to STDOUT when a file has finished writing.