interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / serde_json / Cargo.toml.orig

95 lines · 3642 bytes Raw Blame History
1[package]
2name = "serde_json"
3version = "1.0.151"
4authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
5categories = ["encoding", "parser-implementations", "no-std"]
6description = "A JSON serialization file format"
7documentation = "https://docs.rs/serde_json"
8edition = "2021"
9keywords = ["json", "serde", "serialization"]
10license = "MIT OR Apache-2.0"
11repository = "https://github.com/serde-rs/json"
12rust-version = "1.71"
13
14[dependencies]
15indexmap = { version = "2.2.3", optional = true }
16itoa = "1.0"
17memchr = { version = "2", default-features = false }
18serde_core = { version = "1.0.220", default-features = false }
19zmij = "1.0"
20
21[target.'cfg(any())'.dependencies]
22serde = { version = "1.0.220", default-features = false }
23
24[dev-dependencies]
25automod = "1.0.11"
26indoc = "2.0.2"
27ref-cast = "1.0.18"
28rustversion = "1.0.13"
29serde = { version = "1.0.194", features = ["derive"] }
30serde_bytes = "0.11.10"
31serde_derive = "1.0.166"
32serde_stacker = "0.1.8"
33trybuild = { version = "1.0.108", features = ["diff"] }
34
35[package.metadata.docs.rs]
36features = ["preserve_order", "raw_value", "unbounded_depth"]
37targets = ["x86_64-unknown-linux-gnu"]
38rustdoc-args = [
39 "--generate-link-to-definition",
40 "--generate-macro-expansion",
41 "--extern-html-root-url=core=https://doc.rust-lang.org",
42 "--extern-html-root-url=alloc=https://doc.rust-lang.org",
43 "--extern-html-root-url=std=https://doc.rust-lang.org",
44]
45
46[package.metadata.playground]
47features = ["float_roundtrip", "raw_value", "unbounded_depth"]
48
49
50### FEATURES #################################################################
51
52[features]
53default = ["std"]
54
55std = ["memchr/std", "serde_core/std"]
56
57# Provide integration for heap-allocated collections without depending on the
58# rest of the Rust standard library.
59# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
60alloc = ["serde_core/alloc"]
61
62# Make serde_json::Map use a representation which maintains insertion order.
63# This allows data to be read into a Value and written back to a JSON string
64# while preserving the order of map keys in the input.
65preserve_order = ["indexmap", "std"]
66
67# Use sufficient precision when parsing fixed precision floats from JSON to
68# ensure that they maintain accuracy when round-tripped through JSON. This comes
69# at an approximately 2x performance cost for parsing floats compared to the
70# default best-effort precision.
71#
72# Unlike arbitrary_precision, this feature makes f64 -> JSON -> f64 produce
73# output identical to the input.
74float_roundtrip = []
75
76# Use an arbitrary precision number representation for serde_json::Number. This
77# allows JSON numbers of arbitrary size/precision to be read into a Number and
78# written back to a JSON string without loss of precision.
79#
80# Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON
81# produce output identical to the input.
82arbitrary_precision = []
83
84# Provide a RawValue type that can hold unprocessed JSON during deserialization.
85raw_value = []
86
87# Provide a method disable_recursion_limit to parse arbitrarily deep JSON
88# structures without any consideration for overflowing the stack. When using
89# this feature, you will want to provide some other way to protect against stack
90# overflows, such as by wrapping your Deserializer in the dynamically growing
91# stack adapter provided by the serde_stacker crate. Additionally you will need
92# to be careful around other recursive operations on the parsed result which may
93# overflow the stack after deserialization has completed, including, but not
94# limited to, Display and Debug and Drop impls.
95unbounded_depth = []