Use self_cell for creating self-referential struct
Remove indigenous unsafe self-referential implemention which has a lesser chance to be audited.
This commit is contained in:
parent
33706262f6
commit
331710a16f
2 changed files with 51 additions and 96 deletions
|
|
@ -13,7 +13,6 @@ rust-version = "1.65"
|
|||
fontdb = { version = "0.14.1", default-features = false }
|
||||
libm = "0.2.7"
|
||||
log = "0.4.20"
|
||||
aliasable = "0.1.3"
|
||||
rustybuzz = { version = "0.10.0", default-features = false, features = ["libm"] }
|
||||
swash = { version = "0.1.8", optional = true }
|
||||
syntect = { version = "5.1.0", optional = true }
|
||||
|
|
@ -24,6 +23,7 @@ unicode-segmentation = "1.10.1"
|
|||
rangemap = "1.3.0"
|
||||
hashbrown = { version = "0.14.0", optional = true, default-features = false }
|
||||
rustc-hash = { version = "1.1.0", default-features = false }
|
||||
self_cell = "1.0.1"
|
||||
|
||||
[dependencies.unicode-bidi]
|
||||
version = "0.3.13"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue