feat: support hashbrown015
This commit is contained in:
parent
0b5abbcd0f
commit
de9566709a
3 changed files with 5 additions and 1423 deletions
1423
Cargo.lock
generated
1423
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -20,6 +20,7 @@ dyn-clone = "1.0"
|
|||
ref-cast = "1.0.22"
|
||||
|
||||
# optional dependencies
|
||||
hashbrown015 = { version = "0.15", default-features = false, optional = true, package = "hashbrown" }
|
||||
arrayvec07 = { version = "0.7", default-features = false, optional = true, package = "arrayvec" }
|
||||
bigdecimal04 = { version = "0.4", default-features = false, optional = true, package = "bigdecimal" }
|
||||
bytes1 = { version = "1.0", default-features = false, optional = true, package = "bytes" }
|
||||
|
@ -45,6 +46,7 @@ garde = { version = "0.22", features = ["derive", "email", "regex", "url"] }
|
|||
validator = { version = "0.20", features = ["derive"] }
|
||||
regex = { version = "1.10.6", default-features = false }
|
||||
|
||||
hashbrown015 = { version = "0.15", default-features = false, features = ["serde"], package = "hashbrown" }
|
||||
arrayvec07 = { version = "0.7", default-features = false, features = ["serde"], package = "arrayvec"}
|
||||
bigdecimal04 = { version = "0.4", default-features = false, features = ["serde"], package = "bigdecimal" }
|
||||
bytes1 = { version = "1.0", default-features = false, features = ["serde"], package = "bytes" }
|
||||
|
|
|
@ -86,6 +86,9 @@ forward_impl!(smol_str02::SmolStr => alloc::string::String);
|
|||
#[cfg(feature = "compact_str08")]
|
||||
forward_impl!(compact_str08::CompactString => alloc::string::String);
|
||||
|
||||
#[cfg(feature = "hashbrown015")]
|
||||
forward_impl!((<K: crate::JsonSchema, V: crate::JsonSchema> crate::JsonSchema for hashbrown015::HashMap<K, V>) => std::collections::HashMap<K, V>);
|
||||
|
||||
#[cfg(feature = "url2")]
|
||||
mod url2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue