Skip to content

Commit

Permalink
Upgrade simd-json to 0.13 (serenity-rs#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev authored Nov 7, 2023
1 parent 4361c1c commit f0453f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ secrecy = { version = "0.8.0", features = ["serde"] }
arrayvec = { version = "0.7.3", features = ["serde"] }
# Optional dependencies
fxhash = { version = "0.2.1", optional = true }
simd-json = { version = "0.12", optional = true }
simd-json = { version = "0.13", optional = true }
uwl = { version = "0.6.0", optional = true }
levenshtein = { version = "1.0.5", optional = true }
chrono = { version = "0.4.22", default-features = false, features = ["clock", "serde"], optional = true }
Expand Down
14 changes: 6 additions & 8 deletions src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ mod export {
pub type JsonMap = simd_json::owned::Object;
pub const NULL: Value = Value::Static(simd_json::StaticNode::Null);

pub use simd_json::{
json,
Builder,
Error as JsonError,
Mutable,
StaticNode,
Value as ValueTrait,
ValueAccess,
pub use simd_json::prelude::{
TypedContainerValue,
ValueAsContainer,
ValueAsMutContainer,
ValueAsScalar,
};
pub use simd_json::{json, Error as JsonError, StaticNode};
}

pub use export::*;
Expand Down

0 comments on commit f0453f8

Please sign in to comment.