-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
41 lines (33 loc) · 1.19 KB
/
Cargo.toml
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
[package]
name = "value-trait"
version = "0.10.1"
authors = ["Heinz N. Gies <heinz@licenser.net>"]
edition = "2021"
license = "Apache-2.0/MIT"
description = "Traits to deal with JSONesque values"
repository = "https://github.com/simd-lite/value-trait"
readme = "README.md"
documentation = "https://docs.rs/value-trait"
rust-version = "1.64"
[dependencies]
itoa = "1"
ryu = "1"
halfbrown = { version = "0.2", optional = true }
float-cmp = "0.10"
ordered-float = { version = "4", optional = true }
hashbrown = { version = "0.15", optional = true }
abi_stable = { version = "0.11.0", optional = true, default-features = false }
[features]
default = ["custom-types", "halfbrown", "runtime-detection"]
# Support for 128 bit integers
128bit = []
# Support for custom types
custom-types = []
# Support for abi-stable's `StableAbi` implementation - INCOMPATIBLE WITH ordered-float
c-abi = ["abi_stable"]
# use runtime detection of the CPU features where possible instead of enforcing an instruction set
runtime-detection = []
# wrap floats in ordered-float - allowing them to be Eq - INCOMPATIBLE WITH c-abi
ordered-float = ["dep:ordered-float"]
# portable simd support (as of rust 1.73 nightly only)
portable = []