Mercurial > hg
view rust/hg-cpython/Cargo.toml @ 48839:7b068abe4aa2
rust: jettison Python 2 support
Differential Revision: https://phab.mercurial-scm.org/D12283
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 02 Mar 2022 10:32:36 -0500 |
parents | 99a0b5422cf5 |
children | 649ff7f86f96 |
line wrap: on
line source
[package] name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] edition = "2018" [lib] name='rusthg' crate-type = ["cdylib"] [features] default = ["python3"] # Features to build an extension module: python3 = ["cpython/python3-sys", "cpython/extension-module"] # Enable this feature to build a test executable linked to libpython: # e.g. cargo test --no-default-features --features python3-bin python3-bin = ["cpython/python3-sys"] [dependencies] cpython = { version = "0.7.0", default-features = false } crossbeam-channel = "0.4" hg-core = { path = "../hg-core"} libc = "0.2" log = "0.4.8" env_logger = "0.7.1" stable_deref_trait = "1.2.0" vcsgraph = "0.2.0"