##// END OF EJS Templates
tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858)...
tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858) Sometimes the systems that run our test suite don't have enough entropy and they cannot produce target file of the expected size using /dev/random, which results in test failures. Switching to /dev/urandom would give us way more available data at the cost of it being less "random", but we don't really need to use entropy for this task at all, since we only care if the file size after compression is big enough to not be stored inline in the revlog. So let's use something that we already have used to generate this kind of data in other tests.

File last commit:

r52153:c4f1a790 default
r52255:e7be2ddf stable
Show More
Cargo.toml
52 lines | 1.2 KiB | application/toml | TOMLLexer
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307 [package]
name = "hg-core"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
Raphaël Gomès
rust: move all crates in the main workspace to edition 2021...
r50524 edition = "2021"
Georges Racinet
rust: pure Rust lazyancestors iterator...
r40307
[lib]
name = "hg"
Georges Racinet
rust: translated random test of missingancestors...
r41841
Raphaël Gomès
rust-dirstate: add rust implementation of `parse_dirstate` and `pack_dirstate`...
r42488 [dependencies]
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 bitflags = "1.3.2"
Raphaël Gomès
rust-clippy: upgrade `bytes-cast` dependency...
r50830 bytes-cast = "0.3.0"
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 byteorder = "1.4.3"
derive_more = "0.99.17"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 hashbrown = { version = "0.13.1", features = ["rayon"] }
home = "0.5.4"
im-rc = "15.1.0"
itertools = "0.10.5"
Raphaël Gomès
rust: update all dependencies...
r45090 lazy_static = "1.4.0"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 libc = "0.2.137"
Raphaël Gomès
rust: use `logging_timer` instead of `micro_timer`...
r50808 logging_timer = "1.1.0"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 rand = "0.8.5"
Martin von Zweigbergk
rust: upgrade `rand*` crates...
r49403 rand_pcg = "0.3.1"
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 rand_distr = "0.4.3"
Raphaël Gomès
rust: upgrade `rayon` dependency...
r51221 rayon = "1.7.0"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 regex = "1.7.0"
Raphaël Gomès
rust-hg-core: move from `ouroboros` to `self_cell`...
r51575 self_cell = "1.0"
Raphaël Gomès
rust-config: add support for default config items...
r51656 serde = { version = "1.0", features = ["derive"] }
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 sha-1 = "0.10.0"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 twox-hash = "1.6.3"
Raphaël Gomès
rust-utils: add util for canonical path...
r44783 same-file = "1.0.6"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 tempfile = "3.3.0"
Raphaël Gomès
rust-config: add support for default config items...
r51656 toml = "0.6"
Raphaël Gomès
rust: create wrapper struct to reduce `regex` contention issues...
r50476 thread_local = "1.1.4"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 crossbeam-channel = "0.5.6"
log = "0.4.17"
memmap2 = { version = "0.5.8", features = ["stable_deref_trait"] }
Raphaël Gomès
rust: update zstd dependency...
r51220 zstd = "0.12"
Simon Sapin
rust: Upgrade to format-bytes 0.3...
r49323 format-bytes = "0.3.0"
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 once_cell = "1.16.0"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097
Raphaël Gomès
rust: update minimum supported Rust compiler version...
r46189 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
# we have a clearer view of which backend is the fastest.
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 [dependencies.flate2]
Raphaël Gomès
hg-core: upgrade all remaining dependencies...
r50532 version = "1.0.24"
Antoine Cezar
hg-core: Add a limited read only `revlog` implementation...
r46097 features = ["zlib"]
default-features = false
Raphaël Gomès
rust-pathauditor: add Rust implementation of the `pathauditor`...
r44737
[dev-dependencies]
Raphaël Gomès
rust-config: add support for default config items...
r51656 clap = { version = "~4.0", features = ["derive"] }
Raphaël Gomès
rust-hg-core: upgrade dependencies...
r49808 pretty_assertions = "1.1.0"