Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 660c18a

Browse files
committed
Add deprecation notices to this crate
1 parent a8f8f32 commit 660c18a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# rustc-serialize
22

3+
> **NOTE**: This crate is deprecated in favor of [`serde`]. No new feature
4+
> development will happen in this crate, although bug fixes proposed through PRs
5+
> will still be merged. It is very highly recommended by the Rust Library Team
6+
> that you use [`serde`], not this crate.
7+
8+
[`serde`]: https://serde.rs
9+
310
Serialization and deserialization support provided by the compiler in the form
411
of `derive(RustcEncodable, RustcDecodable)`.
512

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010

1111
//! Support code for encoding and decoding types.
1212
//!
13+
//! > **NOTE**: This crate is deprecated in favor of [`serde`]. No new feature
14+
//! > development will happen in this crate, although bug fixes proposed through
15+
//! > PRs will still be merged. It is very highly recommended by the Rust
16+
//! > Library Team that you use [`serde`], not this crate.
17+
//!
1318
//! # Usage
1419
//!
1520
//! This crate is [on crates.io](https://crates.io/crates/rustc-serialize) and

0 commit comments

Comments
 (0)