Mercurial > hg
view rust/hg-cpython/Cargo.toml @ 51684:20e2a20674dc
convert: drop a duplicate implementation of `dateutil.makedate()`
I noticed this because the signature generated by pytype recently changed to be
less specific. When the method was introduced back in 337d728e644f,
`util.makedate()` didn't take an optional timestamp arg. But now it does, and
the methods are the same (except the `dateutil` version validates that the
timestamp isn't a negative value). I left the old method in place in case
anyone has custom convert code that monkey patches it.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 11 Jul 2024 14:46:00 -0400 |
parents | 5844cd8e81ca |
children | 37a079410507 |
line wrap: on
line source
[package] name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] edition = "2021" [lib] name='rusthg' crate-type = ["cdylib"] [dependencies] cpython = { version = "0.7.1", features = ["extension-module"] } crossbeam-channel = "0.5.6" hg-core = { path = "../hg-core"} libc = "0.2.137" log = "0.4.17" env_logger = "0.9.3" stable_deref_trait = "1.2.0" vcsgraph = "0.2.0"