nushell/crates/nu-data/Cargo.toml
Leonhard Kipp c42b588782
Refactor nu-cli/env* (#3041)
* Revert "History, more test coverage improvements, and refactorings. (#3217)"

This reverts commit 8fc8fc89aa.

* Add tests

* Refactor .nu-env

* Change logic of Config write to logic of read()

* Fix reload always appends to old vars

* Fix reload always takes last_modified of global config

* Add reload_config in evaluation context

* Reload config after writing to it in cfg set / cfg set_into

* Add --no-history to cli options

* Use --no-history in tests

* Add comment about maybe_print_errors

* Get ctrl_exit var from context.global_config

* Use context.global_config in command "config"

* Add Readme in engine how env vars are now handled

* Update docs from autoenv command

* Move history_path from engine to nu_data

* Move load history out of if

* No let before return

* Add import for indexmap
2021-03-31 18:52:34 +13:00

46 lines
1.2 KiB
TOML

[package]
authors = ["The Nu Project Contributors"]
description = "CLI for nushell"
edition = "2018"
license = "MIT"
name = "nu-data"
version = "0.29.0"
[lib]
doctest = false
[dependencies]
bigdecimal = "0.2.0"
byte-unit = "4.0.9"
chrono = "0.4.19"
derive-new = "0.5.8"
directories-next = { version = "2.0.0", optional = true }
dirs-next = { version = "2.0.0", optional = true }
getset = "0.1.1"
indexmap = { version = "1.6.1", features = ["serde-1"] }
log = "0.4.14"
num-bigint = { version = "0.3.1", features = ["serde"] }
num-format = "0.4.0"
num-traits = "0.2.14"
query_interface = "0.3.5"
serde = { version = "1.0.123", features = ["derive"] }
toml = "0.5.8"
sha2 = "0.9.3"
common-path = "1.0.0"
nu-errors = { version = "0.29.0", path = "../nu-errors" }
nu-protocol = { version = "0.29.0", path = "../nu-protocol" }
nu-source = { version = "0.29.0", path = "../nu-source" }
nu-table = { version = "0.29.0", path = "../nu-table" }
nu-test-support = { version = "0.29.0", path = "../nu-test-support" }
nu-value-ext = { version = "0.29.0", path = "../nu-value-ext" }
nu-ansi-term = { version = "0.29.0", path = "../nu-ansi-term" }
[target.'cfg(unix)'.dependencies]
users = "0.11.0"
[features]
directories = ["directories-next"]
dirs = ["dirs-next"]