mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
f70c6d5d48
This commit extracts Tag, Span, Text, as well as source-related debug facilities into a new crate called nu_source. This change is much bigger than one might have expected because the previous code relied heavily on implementing inherent methods on `Tagged<T>` and `Spanned<T>`, which is no longer possible. As a result, this change creates more concrete types instead of using `Tagged<T>`. One notable example: Tagged<Value> became Value, and Value became UntaggedValue. This change clarifies the intent of the code in many places, but it does make it a big change.
18 lines
427 B
TOML
18 lines
427 B
TOML
[package]
|
|
name = "nu-source"
|
|
version = "0.1.0"
|
|
authors = ["Yehuda Katz <wycats@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
|
|
serde = { version = "1.0.102", features = ["derive"] }
|
|
derive-new = "0.5.8"
|
|
getset = "0.0.9"
|
|
nom_locate = "1.0.0"
|
|
nom-tracable = "0.4.1"
|
|
language-reporting = "0.4.0"
|
|
termcolor = "1.0.5"
|
|
pretty = "0.5.2"
|