Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/serde_json/Cargo.toml.orig # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / serde_json / Cargo.toml.orig` 95 lines ยท 3642 bytes Raw Blame History 1 [package] 2 name = "serde_json" 3 version = "1.0.151" 4 authors = ["Erick Tryzelaar ", "David Tolnay "] 5 categories = ["encoding", "parser-implementations", "no-std"] 6 description = "A JSON serialization file format" 7 documentation = "https://docs.rs/serde_json" 8 edition = "2021" 9 keywords = ["json", "serde", "serialization"] 10 license = "MIT OR Apache-2.0" 11 repository = "https://github.com/serde-rs/json" 12 rust-version = "1.71" 13 14 [dependencies] 15 indexmap = { version = "2.2.3", optional = true } 16 itoa = "1.0" 17 memchr = { version = "2", default-features = false } 18 serde_core = { version = "1.0.220", default-features = false } 19 zmij = "1.0" 20 21 [target.'cfg(any())'.dependencies] 22 serde = { version = "1.0.220", default-features = false } 23 24 [dev-dependencies] 25 automod = "1.0.11" 26 indoc = "2.0.2" 27 ref-cast = "1.0.18" 28 rustversion = "1.0.13" 29 serde = { version = "1.0.194", features = ["derive"] } 30 serde_bytes = "0.11.10" 31 serde_derive = "1.0.166" 32 serde_stacker = "0.1.8" 33 trybuild = { version = "1.0.108", features = ["diff"] } 34 35 [package.metadata.docs.rs] 36 features = ["preserve_order", "raw_value", "unbounded_depth"] 37 targets = ["x86_64-unknown-linux-gnu"] 38 rustdoc-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] 47 features = ["float_roundtrip", "raw_value", "unbounded_depth"] 48 49 50 ### FEATURES ################################################################# 51 52 [features] 53 default = ["std"] 54 55 std = ["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. 60 alloc = ["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. 65 preserve_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. 74 float_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. 82 arbitrary_precision = [] 83 84 # Provide a RawValue type that can hold unprocessed JSON during deserialization. 85 raw_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. 95 unbounded_depth = []