Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider to move the crait in rust_num #60

Closed
XVilka opened this issue Jun 24, 2019 · 2 comments
Closed

Consider to move the crait in rust_num #60

XVilka opened this issue Jun 24, 2019 · 2 comments

Comments

@XVilka
Copy link

XVilka commented Jun 24, 2019

Since the decimal arithmetic is crucial for business and financial applications, it makes sense to improve the visibility and make it more abstract (i.e. split from Postgres feature), and move into https://github.com/rust-num organization

cc @rust-num

Might be useful to create a generic implementation.

@rubdos
Copy link
Contributor

rubdos commented Jun 28, 2019

Some history here and mostly also here. TL;DR: this crate is a "testing ground" for what at first was num's implementation for BigDecimal. There are a few "competing" implementations iirc, and the goal was to see which ones worked best and to test their APIs.

Could you elaborate on "make it more abstract"? Also, there's no direct connection between PostgrSQL and this crate. The only thing I know is that diesel uses the crate to optionally represent Postgres' Decimal type.

@XVilka
Copy link
Author

XVilka commented Jun 28, 2019

@rubdos, basically the idea is to create some predefined set of the libraries suitable for "business applications", and big decimal arithmetic is one of the cornerstones of such a platform: https://internals.rust-lang.org/t/proposal-business-applications-working-group/10400

@akubera akubera closed this as completed Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants