##// END OF EJS Templates
rust-revlog: fix lifetime problem for RevlogEntry parent entries accessors...
rust-revlog: fix lifetime problem for RevlogEntry parent entries accessors Without this, the lifetime of the result is equated to the lifetime of the `self` reference, preventing callers, e.g., to take a `RevlogEntry` and return its `p1_entry()`, as it looks like returning something that does not outlive the *reference to* the `RevlogEntry`.

File last commit:

r51221:3f31b852 stable
r51270:c101e775 default
Show More
Cargo.toml
25 lines | 516 B | text/plain | TOMLLexer
[package]
name = "rhg"
version = "0.1.0"
authors = [
"Antoine Cezar <antoine.cezar@octobus.net>",
"Raphaël Gomès <raphael.gomes@octobus.net>",
]
edition = "2021"
[dependencies]
atty = "0.2.14"
hg-core = { path = "../hg-core"}
chrono = "0.4.23"
clap = { version = "4.0.24", features = ["cargo"] }
derive_more = "0.99.17"
home = "0.5.4"
lazy_static = "1.4.0"
log = "0.4.17"
logging_timer = "1.1.0"
regex = "1.7.0"
env_logger = "0.9.3"
format-bytes = "0.3.0"
users = "0.11.0"
which = "4.3.0"
rayon = "1.7.0"