<commit_before>[package]
name = "protobuf"
version = "0.0.0"
authors = ["<NAME> <<EMAIL>>"]
publish = false
edition = "2018"

[dependencies]
bytes = { version = "0.5", default-features = false }
prost = { path = ".." }
prost-types = { path = "../prost-types" }

[build-dependencies]
anyhow = "1"
cfg-if = "0.1"
curl = "0.4"
flate2 = "1.0"
prost-build = { path = "../prost-build" }
tar = "0.4"
tempfile = "3"

[dev-dependencies]
criterion = "0.3"

[lib]
# https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false

[[bench]]
name = "dataset"
harness = false<commit_msg>deps: require `curl < 0.4.34` to fix MSRV<commit_after>[package]
name = "protobuf"
version = "0.0.0"
authors = ["<NAME> <<EMAIL>>"]
publish = false
edition = "2018"

[dependencies]
bytes = { version = "0.5", default-features = false }
prost = { path = ".." }
prost-types = { path = "../prost-types" }

[build-dependencies]
anyhow = "1"
cfg-if = "0.1"
# curl 0.4.34 requires Rust 1.40 or higher:
# https://github.com/alexcrichton/curl-rust/pull/356/files#r498918694
curl = "0.4, < 0.4.34"
flate2 = "1.0"
prost-build = { path = "../prost-build" }
tar = "0.4"
tempfile = "3"

[dev-dependencies]
criterion = "0.3"

[lib]
# https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false

[[bench]]
name = "dataset"
harness = false
{'fraction_non_alphanumeric': 0.2047945205479452, 'fraction_numerical': 0.04863013698630137, 'mean_word_length': 3.87, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4184293', 'n_tokens_mistral': 628, 'n_tokens_neox': 588, 'n_words': 116}