Commit graph

4 commits

Author SHA1 Message Date
est31
b123f35d4b Switch pinned compiler to Rust beta 2019-09-28 03:11:01 +02:00
Jonathan Turner
b11a4535bd Bump compiler 2019-09-13 13:54:17 +12:00
Yehuda Katz
138b5af82b Basic support for decimal numbers
This commit is more substantial than it looks: there was basically no
real support for decimals before, and that impacted values all the way
through.

I also made Size contain a decimal instead of an integer (`1.6kb` is a
reasonable thing to type), which impacted a bunch of code.

The biggest impact of this commit is that it creates many more possible
ways for valid nu types to fail to serialize as toml, json, etc. which
typically can't support the full range of Decimal (or Bigint, which I
also think we should support). This commit makes to-toml fallible, and a
similar effort is necessary for the rest of the serializations.

We also need to figure out how to clearly communicate to users what has
happened, but failing to serialize to toml seems clearly superior to me
than weird errors in basic math operations.
2019-08-30 21:05:32 -07:00
vthriller
f69f0b9c62 Enforce nightly toolchain
This code and some of its dependencies (like futures-async-stream) rely on #[feature()], so it doesn't make sense to build this with stable compiler.
2019-08-24 23:03:31 +03:00