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 <richard.whitehouse@metaswitch.com>
  • Loading branch information
bors[bot] and richardwhiuk committed May 6, 2020
1 parent c7f6263 commit 7cf2eee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 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 @@ -31,12 +30,6 @@ 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 }

[target.'cfg(not(any(target_os = "macos", target_os = "windows", target_os = "ios")))'.dependencies]
hyper-openssl = "0.7.1"
openssl = "0.10.28"
Expand Down
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 7cf2eee

Please sign in to comment.