Skip to content

Commit c8501d6

Browse files
authored
chore: bump alloy-primitives to 1 (#118)
Upgraded `alloy-primitives` to 1.0 and `fastnum` to 0.2.3. Updated `uniswap-sdk-core` dependency in README and bumped crate version to 5.0.0 in `Cargo.toml`.
1 parent dc0859a commit c8501d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uniswap-sdk-core"
3-
version = "4.0.1"
3+
version = "5.0.0"
44
edition = "2021"
55
authors = ["malik <aremumalik05@gmail.com>", "Shuhui Luo <twitter.com/aureliano_law>"]
66
description = "The Uniswap SDK Core in Rust provides essential functionality for interacting with the Uniswap decentralized exchange"
@@ -12,11 +12,11 @@ keywords = ["sdk-core", "ethereum", "sdk"]
1212
exclude = [".github", ".gitignore", "rustfmt.toml"]
1313

1414
[dependencies]
15-
alloy-primitives = { version = "^0.8.5", default-features = false, features = ["map-fxhash"] }
15+
alloy-primitives = { version = "1.0", default-features = false, features = ["map-fxhash"] }
1616
bnum = "0.12.0"
1717
derive_more = { version = "2", default-features = false, features = ["deref", "from"] }
1818
eth_checksum = { version = "0.1.2", optional = true }
19-
fastnum = { version = "0.2.2", default-features = false, features = ["numtraits"] }
19+
fastnum = { version = "0.2.3", default-features = false, features = ["numtraits"] }
2020
lazy_static = "1.5"
2121
num-integer = { version = "0.1", default-features = false }
2222
num-traits = { version = "0.2.19", default-features = false, features = ["libm"] }

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add this to your Cargo.toml
1414

1515
```toml
1616
[dependencies]
17-
uniswap-sdk-core = "4.0.0"
17+
uniswap-sdk-core = "5.0.0"
1818
```
1919

2020
And this to your code:
@@ -35,7 +35,7 @@ the `token!` macro.
3535
<details>
3636
<summary>Click to expand</summary>
3737

38-
```rust
38+
```rust,ignore
3939
// Import necessary preludes and token macro
4040
use uniswap_sdk_core::{prelude::*, token};
4141

0 commit comments

Comments
 (0)