serde_derive -> serde with derive feature
This commit is contained in:
1 parent
1c716898e7
commit
12b537d2c8
19 files changed
+17
-23
No files matched your search
Generated
+3
-2
@@ -2076,6 +2076,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
name = "serde"
|
||||
version = "1.0.104"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
@@ -2454,7 +2457,6 @@ dependencies = [
|
||||
"regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"signal-hook 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"smallvec 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"terminfo 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@@ -2765,7 +2767,6 @@ dependencies = [
|
||||
"promise 0.2.0",
|
||||
"ratelimit_meter 5.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serial 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"shared_library 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ssh2 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
||||
+1
-2
@@ -41,8 +41,7 @@ palette = "0.4"
|
||||
portable-pty = { path = "pty", features = ["serde_support", "ssh"]}
|
||||
promise = { path = "promise" }
|
||||
ratelimit_meter = "5.0"
|
||||
serde = {version="1.0", features = ["rc"]}
|
||||
serde_derive = "1.0"
|
||||
serde = {version="1.0", features = ["rc", "derive"]}
|
||||
serial = "0.4"
|
||||
ssh2 = "0.6"
|
||||
structopt = "0.2"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use crate::keyassignment::{KeyAssignment, SpawnTabDomain};
|
||||
use anyhow::{anyhow, Error};
|
||||
use serde::{Deserialize, Deserializer};
|
||||
use serde_derive::*;
|
||||
use termwiz::input::{KeyCode, Modifiers};
|
||||
|
||||
#[derive(Debug, Deserialize, Clone)]
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ use crate::keyassignment::KeyAssignment;
|
||||
use anyhow::{anyhow, bail, Context, Error};
|
||||
use lazy_static::lazy_static;
|
||||
use portable_pty::{CommandBuilder, PtySystemSelection};
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
use std;
|
||||
use std::collections::HashMap;
|
||||
use std::convert::TryInto;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Default, Debug, Clone, Deserialize)]
|
||||
pub struct SshDomain {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::config::FontAttributes;
|
||||
use anyhow::{anyhow, Error};
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Mutex;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::font::locator::FontDataHandle;
|
||||
use crate::font::units::*;
|
||||
use anyhow::{anyhow, bail, Error};
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
use std::sync::Mutex;
|
||||
|
||||
pub mod freetype;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::font::locator::FontDataHandle;
|
||||
use crate::font::units::PixelLength;
|
||||
use anyhow::{anyhow, Error};
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
use std::sync::Mutex;
|
||||
|
||||
pub mod allsorts;
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ use anyhow::{anyhow, Error};
|
||||
use downcast_rs::{impl_downcast, Downcast};
|
||||
use lazy_static::lazy_static;
|
||||
use promise::Executor;
|
||||
use serde_derive::*;
|
||||
use serde::Deserialize;
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
use std::sync::Mutex;
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ use anyhow::{bail, Error};
|
||||
use leb128;
|
||||
use log::debug;
|
||||
use portable_pty::{CommandBuilder, PtySize};
|
||||
use serde_derive::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::io::Cursor;
|
||||
use std::sync::Arc;
|
||||
use term::selection::SelectionRange;
|
||||
|
||||
+1
-2
@@ -27,8 +27,7 @@ ordered-float = "1.0"
|
||||
palette = "0.4"
|
||||
regex = "0.2"
|
||||
semver = "0.9"
|
||||
serde = {version="1.0", features = ["rc"]}
|
||||
serde_derive = "1.0"
|
||||
serde = {version="1.0", features = ["rc", "derive"]}
|
||||
smallvec = "0.6"
|
||||
terminfo = "0.6"
|
||||
unicode-segmentation = "1.5"
|
||||
|
||||
@@ -3,7 +3,6 @@ use crate::color::ColorAttribute;
|
||||
pub use crate::escape::osc::Hyperlink;
|
||||
use crate::image::ImageCell;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
use serde_derive::*;
|
||||
use smallvec::SmallVec;
|
||||
use std;
|
||||
use std::mem;
|
||||
|
||||
@@ -6,7 +6,6 @@ use num_derive::*;
|
||||
use palette;
|
||||
use palette::{LinSrgba, Srgb, Srgba};
|
||||
use serde::{self, Deserialize, Deserializer, Serialize, Serializer};
|
||||
use serde_derive::*;
|
||||
use std::result::Result;
|
||||
|
||||
#[derive(Debug, Clone, Copy, FromPrimitive)]
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
//! as we recognize linkable input text during print() processing.
|
||||
use anyhow::{anyhow, ensure, Error};
|
||||
use regex::{Captures, Regex};
|
||||
use serde::{self, Deserialize, Deserializer};
|
||||
use serde_derive::*;
|
||||
use serde::{self, Deserialize, Deserializer, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::fmt::{Display, Error as FmtError, Formatter};
|
||||
use std::ops::Range;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
use ordered_float::NotNan;
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
use serde_derive::*;
|
||||
use std::sync::Arc;
|
||||
|
||||
fn deserialize_notnan<'de, D>(deserializer: D) -> Result<NotNan<f32>, D::Error>
|
||||
|
||||
@@ -6,7 +6,7 @@ use crate::escape::{Action, CSI};
|
||||
use crate::keymap::{Found, KeyMap};
|
||||
use crate::readbuf::ReadBuffer;
|
||||
use bitflags::bitflags;
|
||||
use serde_derive::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std;
|
||||
|
||||
#[cfg(windows)]
|
||||
|
||||
@@ -2,7 +2,7 @@ use crate::cell::{AttributeChange, CellAttributes};
|
||||
use crate::color::ColorAttribute;
|
||||
pub use crate::image::{ImageData, TextureCoordinate};
|
||||
use crate::surface::{CursorShape, Position};
|
||||
use serde_derive::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::sync::Arc;
|
||||
|
||||
/// `Change` describes an update operation to be applied to a `Surface`.
|
||||
|
||||
@@ -3,7 +3,7 @@ use crate::cellcluster::CellCluster;
|
||||
use crate::hyperlink::Rule;
|
||||
use crate::surface::Change;
|
||||
use bitflags::bitflags;
|
||||
use serde_derive::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::ops::Range;
|
||||
use std::sync::Arc;
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
@@ -2,7 +2,7 @@ use crate::cell::{AttributeChange, Cell, CellAttributes};
|
||||
use crate::color::ColorAttribute;
|
||||
use crate::image::ImageCell;
|
||||
use ordered_float::NotNan;
|
||||
use serde_derive::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::borrow::Cow;
|
||||
use std::cmp::min;
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
Reference in new issue
Block a user