equal
deleted
inserted
replaced
1 [package] |
1 [package] |
2 name = "hgcli" |
2 name = "hgcli" |
3 version = "0.1.0" |
3 version = "0.1.0" |
|
4 build = "build.rs" |
4 authors = ["Gregory Szorc <gregory.szorc@gmail.com>"] |
5 authors = ["Gregory Szorc <gregory.szorc@gmail.com>"] |
|
6 edition = "2018" |
5 license = "GPL-2.0" |
7 license = "GPL-2.0" |
6 |
8 readme = "README.md" |
7 build = "build.rs" |
|
8 |
9 |
9 [[bin]] |
10 [[bin]] |
10 name = "hg" |
11 name = "hg" |
11 path = "src/main.rs" |
12 path = "src/main.rs" |
12 |
13 |
|
14 [dependencies] |
|
15 jemallocator-global = { version = "0.3", optional = true } |
|
16 pyembed = { git = "https://github.com/indygreg/PyOxidizer.git", rev = "c772a1379c3026314eda1c8ea244b86c0658951d", default-features=false } |
|
17 |
13 [features] |
18 [features] |
14 # localdev: detect Python in PATH and use files from source checkout. |
19 default = ["build-mode-pyoxidizer-exe"] |
15 default = ["localdev"] |
20 jemalloc = ["jemallocator-global", "pyembed/jemalloc"] |
16 localdev = [] |
21 build-mode-pyoxidizer-exe = ["pyembed/build-mode-pyoxidizer-exe"] |
17 |
22 build-mode-prebuilt-artifacts = ["pyembed/build-mode-prebuilt-artifacts"] |
18 [dependencies] |
23 cpython-link-unresolved-static = ["pyembed/cpython-link-unresolved-static"] |
19 libc = "0.2.34" |
24 cpython-link-default = ["pyembed/cpython-link-default"] |
20 |
|
21 # We currently use a custom build of cpython and python27-sys with the |
|
22 # following changes: |
|
23 # * GILGuard call of prepare_freethreaded_python() is removed. |
|
24 # TODO switch to official release when our changes are incorporated. |
|
25 [dependencies.cpython] |
|
26 version = "0.1" |
|
27 default-features = false |
|
28 features = ["python27-sys"] |
|
29 git = "https://github.com/indygreg/rust-cpython.git" |
|
30 rev = "c90d65cf84abfffce7ef54476bbfed56017a2f52" |
|
31 |
|
32 [dependencies.python27-sys] |
|
33 version = "0.1.2" |
|
34 git = "https://github.com/indygreg/rust-cpython.git" |
|
35 rev = "c90d65cf84abfffce7ef54476bbfed56017a2f52" |
|