Cargo.toml
This file
Path
serde_core/Cargo.toml
70 lines · 2.6 KiB · TOML
Last changed by
Release 1.0.229David Tolnaybefore adoption7fc3b4c
History of this fileTake it
Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 1–2why, one step back1[package]2name = "serde_core"Release 1.0.229David Tolnaybefore adoption7fc3b4c
line 3why, one step back3version = "1.0.229"Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 4–6why, one step back4authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]5build = "build.rs"6categories = ["encoding", "no-std", "no-std::no-alloc"]Merge pull request #2964 from dtolnay/serdecoredocDavid Tolnaybefore adoption79f3484
line 7why, one step back7description = "Serde traits only, with no support for derive -- use the `serde` crate instead"Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 8–17why, one step back8documentation = "https://docs.rs/serde_core"9edition = "2021"10homepage = "https://serde.rs"11keywords = ["serde", "serialization", "no_std"]12license = "MIT OR Apache-2.0"13repository = "https://github.com/serde-rs/serde"14rust-version = "1.56"1516[dev-dependencies]17serde = { version = "1", path = "../serde" }Merge pull request #2970 from dtolnay/coredoctestDavid Tolnaybefore adoption69aa109
line 18why, one step back18serde_derive = { version = "1", path = "../serde_derive" }Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 19–27why, one step back1920[package.metadata.playground]21features = ["rc", "result"]2223[package.metadata.docs.rs]24features = ["rc", "result", "unstable"]25targets = ["x86_64-unknown-linux-gnu"]26rustdoc-args = [27 "--generate-link-to-definition",Opt in to generate-macro-expansion when building on docs.rsDavid Tolnaybefore adoptionee3c237
line 28why, one step back28 "--generate-macro-expansion",Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 29–33why, one step back29 "--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]33Merge pull request #2966 from dtolnay/noserdecoreDavid Tolnaybefore adoption35c9631
lines 34–39why, one step back34# This cfg cannot be enabled, but it still forces Cargo to keep serde_derive's35# version in lockstep with serde's, even if someone depends on the two crates36# separately with serde's "derive" feature disabled. Every serde_derive release37# is compatible with exactly one serde release because the generated code38# involves nonpublic APIs which are not bound by semver.39[target.'cfg(any())'.dependencies]Release 1.0.229David Tolnaybefore adoption7fc3b4c
line 40why, one step back40serde_derive = { version = "=1.0.229", path = "../serde_derive" }Merge pull request #2966 from dtolnay/noserdecoreDavid Tolnaybefore adoption35c9631
line 41why, one step back41Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
lines 42–67why, one step back4243### FEATURES #################################################################4445[features]46default = ["std", "result"]4748# Provide impls for common standard library types like Vec<T> and HashMap<K, V>.49# Requires a dependency on the Rust standard library.50std = []5152# Provide impls for types that require unstable functionality. For tracking and53# discussion of unstable functionality please refer to this issue:54#55# https://github.com/serde-rs/serde/issues/81256unstable = []5758# Provide impls for types in the Rust core allocation and collections library59# including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may60# be enabled without depending on all of std.61alloc = []6263# Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types64# 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.66rc = []67Merge pull request #2964 from dtolnay/serdecoredocDavid Tolnaybefore adoption79f3484
lines 68–69why, one step back68# Provide impls for Result<T, E>. Convenient in some contexts but can lead to69# confusion if ? or unwrap are used incautiously.Merge pull request #2608 from osiewicz/extract_serde_coreDavid Tolnaybefore adoption723fcac
line 70why, one step back70result = []