Support uuid v1 and arrayvec 0.7 (#142)
This commit is contained in:
parent
043d794e39
commit
74974d3e95
15 changed files with 157 additions and 72 deletions
|
@ -19,11 +19,13 @@ serde_json = "1.0"
|
|||
dyn-clone = "1.0"
|
||||
|
||||
chrono = { version = "0.4", default-features = false, optional = true }
|
||||
indexmap = { version = "1.2", features=["serde-1"], optional = true }
|
||||
indexmap = { version = "1.2", features = ["serde-1"], optional = true }
|
||||
either = { version = "1.3", default-features = false, optional = true }
|
||||
uuid = { version = "0.8", default-features = false, optional = true }
|
||||
uuid08 = { version = "0.8", default-features = false, optional = true, package = "uuid" }
|
||||
uuid1 = { version = "1.0", default-features = false, optional = true, package = "uuid" }
|
||||
smallvec = { version = "1.0", optional = true }
|
||||
arrayvec = { version = "0.5", default-features = false, optional = true }
|
||||
arrayvec05 = { version = "0.5", default-features = false, optional = true, package = "arrayvec" }
|
||||
arrayvec07 = { version = "0.7", default-features = false, optional = true, package = "arrayvec" }
|
||||
url = { version = "2.0", default-features = false, optional = true }
|
||||
bytes = { version = "1.0", optional = true }
|
||||
rust_decimal = { version = "1", default-features = false, optional = true }
|
||||
|
@ -31,7 +33,7 @@ bigdecimal = { version = "0.3", default-features = false, optional = true }
|
|||
enumset = { version = "1.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "0.6.1"
|
||||
pretty_assertions = "1.2.1"
|
||||
trybuild = "1.0"
|
||||
|
||||
[features]
|
||||
|
@ -48,6 +50,12 @@ impl_json_schema = ["derive"]
|
|||
# derive_json_schema will be removed in a later version
|
||||
derive_json_schema = ["impl_json_schema"]
|
||||
|
||||
# `uuid` feature contains `uuid08` only for back-compat - will be changed to include uuid 1.0 instead in a later version
|
||||
uuid = ["uuid08"]
|
||||
# `arrayvec` feature without version suffix is included only for back-compat - will be removed in a later version
|
||||
arrayvec = ["arrayvec05"]
|
||||
indexmap1 = ["indexmap"]
|
||||
|
||||
ui_test = []
|
||||
|
||||
[[test]]
|
||||
|
@ -64,7 +72,7 @@ required-features = ["either"]
|
|||
|
||||
[[test]]
|
||||
name = "uuid"
|
||||
required-features = ["uuid"]
|
||||
required-features = ["uuid08", "uuid1"]
|
||||
|
||||
[[test]]
|
||||
name = "smallvec"
|
||||
|
@ -76,7 +84,7 @@ required-features = ["bytes"]
|
|||
|
||||
[[test]]
|
||||
name = "arrayvec"
|
||||
required-features = ["arrayvec"]
|
||||
required-features = ["arrayvec05", "arrayvec07"]
|
||||
|
||||
[[test]]
|
||||
name = "schema_for_schema"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue