aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / serde_core / Cargo.toml.orig
| 1 | [package] |
| 2 | name = "serde_core" |
| 3 | version = "1.0.229" |
| 4 | authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"] |
| 5 | build = "build.rs" |
| 6 | categories = ["encoding", "no-std", "no-std::no-alloc"] |
| 7 | description = "Serde traits only, with no support for derive -- use the `serde` crate instead" |
| 8 | documentation = "https://docs.rs/serde_core" |
| 9 | edition = "2021" |
| 10 | homepage = "https://serde.rs" |
| 11 | keywords = ["serde", "serialization", "no_std"] |
| 12 | license = "MIT OR Apache-2.0" |
| 13 | repository = "https://github.com/serde-rs/serde" |
| 14 | rust-version = "1.56" |
| 15 | |
| 16 | [dev-dependencies] |
| 17 | serde = { version = "1", path = "../serde" } |
| 18 | serde_derive = { version = "1", path = "../serde_derive" } |
| 19 | |
| 20 | [package.metadata.playground] |
| 21 | features = ["rc", "result"] |
| 22 | |
| 23 | [package.metadata.docs.rs] |
| 24 | features = ["rc", "result", "unstable"] |
| 25 | targets = ["x86_64-unknown-linux-gnu"] |
| 26 | rustdoc-args = [ |
| 27 | "--generate-link-to-definition", |
| 28 | "--generate-macro-expansion", |
| 29 | "--extern-html-root-url=core=https://doc.rust-lang.org", |
| 30 | "--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 31 | "--extern-html-root-url=std=https://doc.rust-lang.org", |
| 32 | ] |
| 33 | |
| 34 | # This cfg cannot be enabled, but it still forces Cargo to keep serde_derive's |
| 35 | # version in lockstep with serde's, even if someone depends on the two crates |
| 36 | # separately with serde's "derive" feature disabled. Every serde_derive release |
| 37 | # is compatible with exactly one serde release because the generated code |
| 38 | # involves nonpublic APIs which are not bound by semver. |
| 39 | [target.'cfg(any())'.dependencies] |
| 40 | serde_derive = { version = "=1.0.229", path = "../serde_derive" } |
| 41 | |
| 42 | |
| 43 | ### FEATURES ################################################################# |
| 44 | |
| 45 | [features] |
| 46 | default = ["std", "result"] |
| 47 | |
| 48 | # Provide impls for common standard library types like Vec<T> and HashMap<K, V>. |
| 49 | # Requires a dependency on the Rust standard library. |
| 50 | std = [] |
| 51 | |
| 52 | # Provide impls for types that require unstable functionality. For tracking and |
| 53 | # discussion of unstable functionality please refer to this issue: |
| 54 | # |
| 55 | # https://github.com/serde-rs/serde/issues/812 |
| 56 | unstable = [] |
| 57 | |
| 58 | # Provide impls for types in the Rust core allocation and collections library |
| 59 | # including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may |
| 60 | # be enabled without depending on all of std. |
| 61 | alloc = [] |
| 62 | |
| 63 | # Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types |
| 64 | # does not preserve identity and may result in multiple copies of the same data. |
| 65 | # Be sure that this is what you want before enabling this feature. |
| 66 | rc = [] |
| 67 | |
| 68 | # Provide impls for Result<T, E>. Convenient in some contexts but can lead to |
| 69 | # confusion if ? or unwrap are used incautiously. |
| 70 | result = [] |