File: Cargo.toml.orig

package info (click to toggle)
rust-rust-decimal 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 348 kB
  • sloc: makefile: 2
file content (43 lines) | stat: -rw-r--r-- 1,577 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
authors = ["Paul Mason <paul@form1.co.nz>"]
categories = ["science","data-structures"]
description = "A Decimal Implementation written in pure Rust suitable for financial calculations."
documentation = "https://docs.rs/rust_decimal/"
edition = "2018"
keywords = ["decimal","financial","fixed","precision"]
license = "MIT"
name = "rust_decimal"
readme = "./README.md"
repository = "https://github.com/paupino/rust-decimal"
version = "1.8.1"

[dependencies]
byteorder = { default-features = false, optional = true, version = "1.3" }
bytes = { default-features = false, optional = true, version = "0.5" }
diesel = { default-features = false, features = ["postgres"], optional = true, version = "1.4" }
num-traits = { default-features = false, version = "0.2" }
postgres = { default-features = false, optional = true, version = "0.17" }
serde = { default-features = false, optional = true, version = "1.0" }
tokio-postgres = { default-features = false, optional = true, version = "0.5" }

[dev-dependencies]
bincode = "1.3"
bytes = "0.5"
futures = "0.3"
rand = "0.7"
serde_derive = "1.0"
serde_json = "1.0"
tokio = { features = ["rt-threaded", "test-util", "macros"], version = "0.2" }

[features]
db-diesel-postgres = ["diesel", "std"]
db-postgres = ["byteorder", "bytes", "postgres", "std"]
db-tokio-postgres = ["byteorder", "bytes", "postgres", "std", "tokio-postgres"]
default = ["serde", "std"]
serde-bincode = ["serde"]
serde-float = ["serde"]
std = []
tokio-pg = ["db-tokio-postgres"] # Backwards compatability

[workspace]
members = [".", "./macros", "./fuzzer"]