nushell/crates/nu-protocol/src/value
Benoît Cortier 173d60d59d
Deprecate hash base64, extend decode and add encode commands (#5863)
* feat: deprecate `hash base64` command

* feat: extend `decode` and `encode` command families

This commit
- Adds `encode` command family
- Backports `hash base64` features to `encode base64` and `decode base64` subcommands.
- Refactors code a bit and extends tests for encodings
- `decode base64` returns a binary `Value` (that may be decoded into a string using `decode` command)

* feat: add `--binary(-b)` flag to `decode base64`

Default output type is now string, but binary can be requested using this new flag.
2022-06-26 00:35:23 +03:00
..
custom_value.rs SQLite overhaul: custom value, query db command (#5247) 2022-04-20 16:58:21 +12:00
from_value.rs Lazy dataframes (#5546) 2022-05-16 08:27:43 +01:00
from.rs filesize conversion (#5770) 2022-06-13 14:44:32 -05:00
mod.rs Deprecate hash base64, extend decode and add encode commands (#5863) 2022-06-26 00:35:23 +03:00
range.rs Fix known externals, fix operator spans (#5140) 2022-04-09 17:17:48 +12:00
stream.rs replace ValueStream with ListStream (#4621) 2022-02-24 06:57:31 -05:00
unit.rs Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00