Skip to content

Commit

Permalink
Merge #116
Browse files Browse the repository at this point in the history
116: Revert "Add frunk support for swagger::Nullable" r=richardwhiuk a=richardwhiuk

This reverts commit 92f6f85.

This reverts #114 which caused problems due to lloydmeta/frunk#143

Co-authored-by: Richard Whitehouse <[email protected]>
  • Loading branch information
bors[bot] and richardwhiuk authored May 6, 2020
2 parents 8297935 + f98f15e commit c08b031
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ repository = "Metaswitch/swagger-rs"
[features]
default = ["serdejson"]
multipart = ["mime"]
conversion = ["frunk", "frunk_core", "frunk-enum-core", "frunk-enum-derive"]
serdejson = ["serde", "serde_json"]

[dependencies]
Expand All @@ -34,8 +33,3 @@ uuid = {version = "0.7", features = ["serde", "v4"]}
hyper-old-types = "0.11.0"
chrono = "0.4.6"

# Conversion
frunk = { version = "0.3.0", optional = true }
frunk_core = { version = "0.3.0", optional = true }
frunk-enum-core = { version = "0.2.0", optional = true }
frunk-enum-derive = { version = "0.2.0", optional = true }
1 change: 0 additions & 1 deletion src/nullable_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use std::mem;
///
/// Nullable implements many of the same methods as the Option type (map, unwrap, etc).
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd)]
#[cfg_attr(feature = "conversion", derive(frunk_enum_derive::LabelledGenericEnum))]
pub enum Nullable<T> {
/// Null value
Null,
Expand Down

0 comments on commit c08b031

Please sign in to comment.