Skip to content

Commit

Permalink
chore: remove specta
Browse files Browse the repository at this point in the history
  • Loading branch information
nazo6 committed Nov 18, 2024
1 parent 5db64d2 commit 02253b3
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 32 deletions.
24 changes: 0 additions & 24 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ macro_rules_attribute = "0.2.0"
rand_core = "0.6.4"
thiserror = { version = "2.0.3", default-features = false }

specta = { version = "2.0.0-rc.20" }
tsify-next = { version = "0.5.4", features = ["js"] }
wasm-bindgen = "0.2.93"

Expand Down
3 changes: 0 additions & 3 deletions lib/rktk-keymanager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ postcard = { workspace = true, optional = true, features = [
"experimental-derive",
] }

specta = { workspace = true, optional = true, features = ["derive"] }

tsify-next = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }

Expand All @@ -41,7 +39,6 @@ postcard = ["dep:postcard", "serde"]

std = []
# Enables type export by specta.
specta = ["std", "dep:specta", "postcard"]
tsify = ["std", "dep:tsify-next", "dep:wasm-bindgen", "postcard"]

_check = ["state"]
1 change: 0 additions & 1 deletion lib/rktk-keymanager/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ attribute_alias! {
feature = "postcard",
derive(postcard::experimental::max_size::MaxSize)
)]
#[cfg_attr(feature = "specta", derive(specta::Type))]
#[cfg_attr(feature = "tsify", derive(tsify_next::Tsify))]
#[cfg_attr(feature = "tsify", tsify(into_wasm_abi, from_wasm_abi))]
#[derive(PartialEq, Eq, Clone, Debug)]
Expand Down
2 changes: 0 additions & 2 deletions lib/rktk-rrp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ heapless = { workspace = true, optional = true }
embedded-io-async = { workspace = true, optional = true }

# client deps
specta = { workspace = true, optional = true, features = ["derive"] }
tsify-next = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }

Expand All @@ -38,7 +37,6 @@ client = ["std"]

std = ["postcard/use-std", "futures/std"]

specta = ["dep:specta", "rktk-keymanager/specta"]
tsify = ["dep:tsify-next", "dep:wasm-bindgen", "rktk-keymanager/tsify"]

_check = ["server", "client"]
1 change: 0 additions & 1 deletion lib/rktk-rrp/src/endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub use test_endpoints::*;
attribute_alias! {
#[apply(common_derive)] =
#[derive(serde::Serialize, serde::Deserialize, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "specta", derive(specta::Type))]
#[cfg_attr(feature = "tsify", derive(tsify_next::Tsify))]
#[cfg_attr(feature = "tsify", tsify(into_wasm_abi, from_wasm_abi))]
#[cfg_attr(
Expand Down

0 comments on commit 02253b3

Please sign in to comment.