Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename xtask #197

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[alias]
xtask = "run --package xtask --"
xtask = "run --package fp-bindgen-xtask --"
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
exclude = [
"examples/example-plugin",
"examples/example-rust-wasmer2-runtime",
Expand All @@ -19,7 +20,7 @@ fp-bindgen-macros = { version = "3.0.0", path = "macros" }
[workspace.package]
version = "3.0.0"
authors = ["Fiberplane <[email protected]>"]
edition = "2018"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/fiberplane/fp-bindgen/"
repository = "https://github.com/fiberplane/fp-bindgen/"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# fp-bindgen

[![Crates.io](https://img.shields.io/crates/v/fp-bindgen.svg)](https://crates.io/crates/fp-bindgen)
[![Discord Shield](https://discordapp.com/api/guilds/950489382626951178/widget.png?style=shield)](https://discord.gg/fAt2xgMSGS)
[![Discord Shield](https://discordapp.com/api/guilds/950489382626951178/widget.png?style=shield)](https://discord.gg/MJr7pYzZQ4)

Bindings generator for full-stack WASM plugins.

Expand Down
2 changes: 1 addition & 1 deletion fp-bindgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# fp-bindgen

[![Crates.io](https://img.shields.io/crates/v/fp-bindgen.svg)](https://crates.io/crates/fp-bindgen)
[![Discord Shield](https://discordapp.com/api/guilds/950489382626951178/widget.png?style=shield)](https://discord.gg/fAt2xgMSGS)
[![Discord Shield](https://discordapp.com/api/guilds/950489382626951178/widget.png?style=shield)](https://discord.gg/MJr7pYzZQ4)

Bindings generator for full-stack WASM plugins.

Expand Down
2 changes: 1 addition & 1 deletion macros/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl ToTokens for Primitive {
U64 => "U64",
};
let ident = Ident::new(ident_str, Span::call_site());
tokens.extend(vec![TokenTree::Ident(ident)].into_iter());
tokens.extend(vec![TokenTree::Ident(ident)]);
}
}

Expand Down
4 changes: 2 additions & 2 deletions macros/src/serializable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub(crate) fn impl_derive_serializable(item: TokenStream) -> TokenStream {
});
quote! {
where
#( #params#param_bounds ),*
#( #params #param_bounds ),*
}
};

Expand All @@ -131,7 +131,7 @@ pub(crate) fn impl_derive_serializable(item: TokenStream) -> TokenStream {
};

let implementation = quote! {
impl#generics fp_bindgen::prelude::Serializable for #item_name#generics#where_clause {
impl #generics fp_bindgen::prelude::Serializable for #item_name #generics #where_clause {
fn ident() -> fp_bindgen::prelude::TypeIdent {
#ident
}
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "xtask"
name = "fp-bindgen-xtask"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion xtask/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn cargo(args: impl IntoIterator<Item = impl Into<OsString>>) -> Expression

pub fn deno(args: impl IntoIterator<Item = impl Into<OsString>>) -> Expression {
let args: VecDeque<OsString> = args.into_iter().map(|os| os.into()).collect();
cmd("deno", &args)
cmd("deno", args)
}

pub fn from_root(path: impl Into<PathBuf>) -> PathBuf {
Expand Down
Loading