Changing how to use textdifference thing

I think it'd be better to use text difference if a substring isn't found.

I realised afterwards that I think this is how Scryfall does it anyway.
This commit is contained in:
2025-08-17 00:34:03 +01:00
parent 6558a31619
commit 9a9f42bc1e
3 changed files with 38 additions and 21 deletions

View File

@@ -14,5 +14,6 @@ rusqlite = "0.37.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.138"
tempfile = "3.20.0"
textdistance = "1.1.1"
ureq = { version = "3.0.12", features = ["json"] }
uuid = { version = "1.12.1", features = ["v4", "serde"] }