git.delta.rocks / jrsonnet / refs/commits / 724447cfe7aa

difftreelog

build fix mimalloc feature, and use it by default

Yaroslav Bolyukin2021-06-12parent: #8766467.patch.diff
in: master

1 file changed

modifiedcmds/jrsonnet/Cargo.tomldiffbeforeafterboth
before · cmds/jrsonnet/Cargo.toml
1[package]2name = "jrsonnet"3description = "Rust jsonnet implementation"4version = "0.3.8"5authors = ["Yaroslav Bolyukin <iam@lach.pw>"]6license = "MIT"7edition = "2018"8publish = false910[features]11default = []12# Use mimalloc as allocator13mimalloc = []1415[dependencies]16jrsonnet-evaluator = { path = "../../crates/jrsonnet-evaluator", version = "0.3.8" }17jrsonnet-parser = { path = "../../crates/jrsonnet-parser", version = "0.3.8" }18jrsonnet-cli = { path = "../../crates/jrsonnet-cli", version = "0.3.8" }19# TODO: Fix mimalloc compile errors, and use them20mimallocator = { version = "0.1.3", optional = true }21thiserror = "1.0"2223[dependencies.clap]24git = "https://github.com/clap-rs/clap"25rev = "92f744cc49d12d32261010d355dc215a6d2487b9"2627[dependencies.clap_generate]28git = "https://github.com/clap-rs/clap"29rev = "92f744cc49d12d32261010d355dc215a6d2487b9"
after · cmds/jrsonnet/Cargo.toml
1[package]2name = "jrsonnet"3description = "Rust jsonnet implementation"4version = "0.3.8"5authors = ["Yaroslav Bolyukin <iam@lach.pw>"]6license = "MIT"7edition = "2018"8publish = false910[features]11default = ["mimalloc"]12# Use mimalloc as allocator13mimalloc = ["mimallocator"]1415[dependencies]16jrsonnet-evaluator = { path = "../../crates/jrsonnet-evaluator", version = "0.3.8" }17jrsonnet-parser = { path = "../../crates/jrsonnet-parser", version = "0.3.8" }18jrsonnet-cli = { path = "../../crates/jrsonnet-cli", version = "0.3.8" }19# TODO: Fix mimalloc compile errors, and use them20mimallocator = { version = "0.1.3", optional = true }21thiserror = "1.0"2223[dependencies.clap]24git = "https://github.com/clap-rs/clap"25rev = "92f744cc49d12d32261010d355dc215a6d2487b9"2627[dependencies.clap_generate]28git = "https://github.com/clap-rs/clap"29rev = "92f744cc49d12d32261010d355dc215a6d2487b9"