Skip to content

Commit

Permalink
Depend on serde_derive separately for more compilation parallelism (r…
Browse files Browse the repository at this point in the history
…on-rs#441)

* depend on serde_derive separately for more compilation parallelism

* add changelog entry
  • Loading branch information
jakobhellermann authored and juntyr committed Aug 15, 2023
1 parent 0f324a2 commit d5cdeab
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix issue [#423](https://github.com/ron-rs/ron/issues/423) deserialising an identifier into a borrowed str ([#424](https://github.com/ron-rs/ron/pull/424))
- Bump MSRV to 1.57.0 and bump dependency: `base64` to 0.20 ([#431](https://github.com/ron-rs/ron/pull/431))
- Bump dependency `base64` to 0.21 ([#433](https://github.com/ron-rs/ron/pull/433))
- Depend on `serde_derive` directly to potentially enable more compilation parallelism ([#441](https://github.com/ron-rs/ron/pull/441))

## [0.8.0] - 2022-08-17
- Add `integer128` feature that guards `i128` and `u128` ([#304](https://github.com/ron-rs/ron/pull/304), [#351](https://github.com/ron-rs/ron/pull/351))
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ base64 = "0.21"
bitflags = "1.3"
indexmap = { version = "1.9", features = ["serde-1"], optional = true }
# serde supports i128/u128 from 1.0.60 onwards
serde = { version = "1.0.60", features = ["serde_derive"] }
serde = "1.0.60"
serde_derive = "1.0"

[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1.0"
bitflags-serial = { git = "https://github.com/kvark/bitflags-serial" }
Expand Down
2 changes: 1 addition & 1 deletion src/de/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use serde::Deserialize;
use serde_bytes;
use serde_derive::Deserialize;

use crate::{
de::from_str,
Expand Down
2 changes: 1 addition & 1 deletion src/extensions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Deserialize, Serialize};
use serde_derive::{Deserialize, Serialize};

bitflags::bitflags! {
#[derive(Serialize, Deserialize)]
Expand Down
3 changes: 2 additions & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
use std::io;

use serde::{de, ser, Deserialize, Serialize};
use serde::{de, ser};
use serde_derive::{Deserialize, Serialize};

use crate::{
de::Deserializer,
Expand Down
3 changes: 2 additions & 1 deletion src/ser/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::io;

use base64::Engine;
use serde::{ser, Deserialize, Serialize};
use serde::{ser, ser::Serialize};
use serde_derive::{Deserialize, Serialize};

use crate::{
error::{Error, Result},
Expand Down
2 changes: 1 addition & 1 deletion src/ser/tests.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::Serialize;
use serde_derive::Serialize;

use super::to_string;

Expand Down
3 changes: 2 additions & 1 deletion src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ use std::{

use serde::{
de::{DeserializeOwned, DeserializeSeed, Deserializer, MapAccess, SeqAccess, Visitor},
forward_to_deserialize_any, Deserialize, Serialize,
forward_to_deserialize_any,
};
use serde_derive::{Deserialize, Serialize};

use crate::{de::Error, error::Result};

Expand Down

0 comments on commit d5cdeab

Please sign in to comment.