diff --git a/Cargo.lock b/Cargo.lock index 98be0f19339..2809853b2fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1578,6 +1578,16 @@ dependencies = [ "rusticata-macros", ] +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", + "serde", +] + [[package]] name = "derivation-path" version = "0.2.0" @@ -3321,6 +3331,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-derive" version = "0.3.3" @@ -3816,6 +3832,12 @@ version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "767eb9f07d4a5ebcb39bbf2d452058a93c011373abf6832e24194a1c3f004794" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.15" @@ -4749,9 +4771,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.8.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ad483d2ab0149d5a5ebcd9972a3852711e0153d863bf5a5d0391d28883c4a20" +checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" dependencies = [ "base64 0.22.1", "chrono", @@ -4761,7 +4783,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "serde_with_macros 3.8.1", + "serde_with_macros 3.12.0", "time", ] @@ -4779,9 +4801,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.8.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65569b702f41443e8bc8bbb1c5779bd0450bbe723b56198980e80ec45780bce2" +checksum = "8d00caa5193a3c8362ac2b73be6b9e768aa5a4b2f721d8f4b339600c3cb51f8e" dependencies = [ "darling", "proc-macro2", @@ -7378,7 +7400,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "serde_with 3.8.1", + "serde_with 3.12.0", "serial_test", "solana-account-decoder", "solana-clap-v3-utils", @@ -7556,7 +7578,7 @@ dependencies = [ "proptest", "serde", "serde_json", - "serde_with 3.8.1", + "serde_with 3.12.0", "serial_test", "solana-program", "solana-program-test", @@ -8358,11 +8380,14 @@ dependencies = [ [[package]] name = "time" -version = "0.3.22" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ + "deranged", "itoa", + "num-conv", + "powerfmt", "serde", "time-core", "time-macros", @@ -8370,16 +8395,17 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.9" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ + "num-conv", "time-core", ] diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml index b71dc69578a..e24a881e1ba 100644 --- a/single-pool/cli/Cargo.toml +++ b/single-pool/cli/Cargo.toml @@ -16,7 +16,7 @@ bincode = "1.3.1" serde = "1.0.202" serde_derive = "1.0.103" serde_json = "1.0.117" -serde_with = "3.8.1" +serde_with = "3.12.0" solana-account-decoder = ">=1.18.11,<=2" solana-clap-v3-utils = ">=1.18.11,<=2" solana-cli-config = ">=1.18.11,<=2" diff --git a/token/program-2022/Cargo.toml b/token/program-2022/Cargo.toml index 28d0e0a2534..d06fc4d9e21 100644 --- a/token/program-2022/Cargo.toml +++ b/token/program-2022/Cargo.toml @@ -38,7 +38,7 @@ spl-type-length-value = { version = "0.4.3", path = "../../libraries/type-length spl-pod = { version = "0.2.2", path = "../../libraries/pod" } thiserror = "1.0" serde = { version = "1.0.202", optional = true } -serde_with = { version = "3.8.1", optional = true } +serde_with = { version = "3.12.0", optional = true } base64 = { version = "0.22.1", optional = true } [dev-dependencies]