anki/qt/package/Cargo.toml

56 lines
1.4 KiB
TOML
Raw Normal View History

2021-10-28 10:46:45 +02:00
[package]
name = "anki"
version = "0.1.0"
build = "build.rs"
2021-11-18 11:51:10 +01:00
edition = "2021"
2021-10-28 10:46:45 +02:00
2021-10-28 10:57:21 +02:00
[target.'cfg(windows)'.dependencies]
winapi = {version = "0.3", features = ["wincon"]}
libc = "0.2"
libc-stdhandle = "=0.1.0"
2021-10-28 10:46:45 +02:00
[dependencies.pyembed]
git = "https://github.com/ankitects/PyOxidizer.git"
2021-12-08 09:11:25 +01:00
rev = "eb26dd7cd1290de6503869f3d719eabcec45e139"
2021-10-28 10:46:45 +02:00
default-features = false
[dependencies.jemallocator]
version = "0.3"
optional = true
[dependencies.mimalloc]
version = "0.1"
optional = true
features = ["local_dynamic_tls", "override", "secure"]
[dependencies.snmalloc-rs]
version = "0.2"
optional = true
[build-dependencies]
embed-resource = "1.6"
[features]
default = ["build-mode-standalone"]
global-allocator-jemalloc = ["jemallocator"]
global-allocator-mimalloc = ["mimalloc"]
global-allocator-snmalloc = ["snmalloc-rs"]
allocator-jemalloc = ["pyembed/allocator-jemalloc"]
allocator-mimalloc = ["pyembed/allocator-mimalloc"]
allocator-snmalloc = ["pyembed/allocator-snmalloc"]
# Build this crate in isolation, without using PyOxidizer.
build-mode-standalone = []
# Build this crate by executing a `pyoxidizer` executable to build
# required artifacts.
build-mode-pyoxidizer-exe = []
# Build this crate by reusing artifacts generated by `pyoxidizer` out-of-band.
# In this mode, the PYOXIDIZER_ARTIFACT_DIR environment variable can refer
# to the directory containing build artifacts produced by `pyoxidizer`. If not
# set, OUT_DIR will be used.
build-mode-prebuilt-artifacts = []