Skip to content

Commit bef7880

Browse files
authored
Tree rope (#37)
* switch to a tree-based rope impl and remove rope benchmarks * clean up derive macro
1 parent 20444e6 commit bef7880

File tree

10 files changed

+636
-1146
lines changed

10 files changed

+636
-1146
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
on: [push]
1+
on: [push, pull_request]
22

33
name: CI
44

@@ -51,7 +51,6 @@ jobs:
5151
config:
5252
- { os: ubuntu-latest, target: 'x86_64-unknown-linux-gnu' }
5353
- { os: macos-latest, target: 'x86_64-apple-darwin' }
54-
- { os: windows-latest, target: 'x86_64-pc-windows-msvc' }
5554

5655
steps:
5756
- uses: actions/checkout@v2
@@ -74,7 +73,6 @@ jobs:
7473
config:
7574
- { os: ubuntu-latest, target: 'x86_64-unknown-linux-gnu' }
7675
- { os: macos-latest, target: 'x86_64-apple-darwin' }
77-
- { os: windows-latest, target: 'x86_64-pc-windows-msvc' }
7876

7977
steps:
8078
- uses: actions/checkout@v2
@@ -97,7 +95,6 @@ jobs:
9795
config:
9896
- { os: ubuntu-latest, target: 'x86_64-unknown-linux-gnu' }
9997
- { os: macos-latest, target: 'x86_64-apple-darwin' }
100-
- { os: windows-latest, target: 'x86_64-pc-windows-msvc' }
10198

10299
steps:
103100
- uses: actions/checkout@v2
@@ -120,7 +117,6 @@ jobs:
120117
config:
121118
- { os: ubuntu-latest, target: 'x86_64-unknown-linux-gnu' }
122119
- { os: macos-latest, target: 'x86_64-apple-darwin' }
123-
- { os: windows-latest, target: 'x86_64-pc-windows-msvc' }
124120

125121
steps:
126122
- uses: actions/checkout@v2
@@ -142,7 +138,6 @@ jobs:
142138
config:
143139
- { os: ubuntu-latest, target: 'x86_64-unknown-linux-gnu' }
144140
- { os: macos-latest, target: 'x86_64-apple-darwin' }
145-
- { os: windows-latest, target: 'x86_64-pc-windows-msvc' }
146141

147142
steps:
148143
- uses: actions/checkout@v2

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "structdiff"
3-
version = "0.7.3"
3+
version = "0.7.4"
44
edition = "2021"
55
license = "Apache-2.0 OR MIT"
66
repository = "https://github.com/knickish/structdiff"
@@ -13,7 +13,7 @@ rust-version = "1.82.0"
1313
nanoserde = { version = "^0.1.37", optional = true }
1414
rustc-hash = { version = "1.1.0", optional = true }
1515
serde = { version = "^1.0.0", optional = true, features = ["derive"] }
16-
structdiff-derive = { path = "derive", version = "=0.7.3" }
16+
structdiff-derive = { path = "derive", version = "=0.7.4" }
1717

1818
[features]
1919
"default" = []

benchmarks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
assert_unordered = "0.3.5"
10-
structdiff = { path = "..", features = ["serde", "debug_diffs", "__rope_benchmarks"] }
10+
structdiff = { path = "..", features = ["serde", "debug_diffs"] }
1111
nanorand = { version = "0.7.0" }
1212
diff-struct = { version = "0.5.3", optional = true}
1313
serde = { version = "^1.0.0", features = ["derive"] }

derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "structdiff-derive"
3-
version = "0.7.3"
3+
version = "0.7.4"
44
authors = ["Makepad <[email protected]>", "Fedor <[email protected]>", "Kirk <[email protected]"]
55
edition = "2021"
66
description = "derive macro library for structdiff"

derive/src/difference.rs

Lines changed: 93 additions & 120 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)