Skip to content

Commit

Permalink
core: Use either crate instead of a custom implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kjarosh committed Mar 26, 2024
1 parent fac585b commit 3fb2d04
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 23 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ttf-parser = "0.20"
num-bigint = "0.4"
unic-segment = "0.9.0"
id3 = "1.13.1"
either = "1.10.0"

[target.'cfg(not(target_family = "wasm"))'.dependencies.futures]
version = "0.3.30"
Expand Down
2 changes: 1 addition & 1 deletion core/src/avm2/qname.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::avm2::script::TranslationUnit;
use crate::avm2::{Activation, Error, Namespace};
use crate::context::UpdateContext;
use crate::either::Either;
use crate::string::{AvmString, WStr, WString};
use either::Either;
use gc_arena::{Collect, Mutation};
use std::fmt::Debug;
use swf::avm2::types::{Index, Multiname as AbcMultiname};
Expand Down
21 changes: 0 additions & 21 deletions core/src/either.rs

This file was deleted.

1 change: 0 additions & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ pub mod context;
pub mod context_menu;
mod drawing;
mod ecma_conversions;
pub(crate) mod either;
pub mod events;
pub mod focus_tracker;
mod font;
Expand Down

0 comments on commit 3fb2d04

Please sign in to comment.