Mercurial > hg
view rust/hgcli/Cargo.toml @ 46512:866eb4d6bd9f
build: fake PEP440 versions
If the current version is not exactly a tag, use a local version
specifier to fix it up. PEP 440 uses the "+" separator and only allows
alphanumeric and dot, so use dot for further separations.
Old devel build: 5.7+155-a163cc36d06b
New devel build: 5.7+hg155.a163cc36d06b
Differential Revision: https://phab.mercurial-scm.org/D9955
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 04 Feb 2021 23:11:42 +0100 |
parents | 57b5452a55d5 |
children |
line wrap: on
line source
[package] name = "hgcli" version = "0.1.0" build = "build.rs" authors = ["Gregory Szorc <gregory.szorc@gmail.com>"] edition = "2018" license = "GPL-2.0" readme = "README.md" [[bin]] name = "hg" path = "src/main.rs" [dependencies] jemallocator-global = { version = "0.3", optional = true } [dependencies.pyembed] git = "https://github.com/indygreg/PyOxidizer.git" rev = "4697fb25918dfad6dc73288daeea501063963a08" default-features = false [features] default = ["build-mode-pyoxidizer-exe"] jemalloc = ["jemallocator-global", "pyembed/jemalloc"] build-mode-pyoxidizer-exe = ["pyembed/build-mode-pyoxidizer-exe"] build-mode-prebuilt-artifacts = ["pyembed/build-mode-prebuilt-artifacts"] cpython-link-unresolved-static = ["pyembed/cpython-link-unresolved-static"] cpython-link-default = ["pyembed/cpython-link-default"]