adds xtask, lot of bloat tho ?

This commit is contained in:
Dandaedre 2025-03-05 20:28:08 +01:00
parent 5a84833922
commit b855455596
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
5 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View File

@ -28,3 +28,4 @@ callgrind*
cache.out
tarpaulin-report.html
*.bkp
coverage/

View File

@ -3,7 +3,7 @@
[workspace]
members = [ "cli_parser", "config", "graphs", "make", "more_fields", "more_fields_macro",
"ravenous-tools", "stats",
"tablegen", "weaponry",
"tablegen", "weaponry", "xtask",
]
resolver = "3"

View File

@ -12,6 +12,7 @@
// use proc_macro::TokenStream;
// use quote::quote;
// use syn::{Data, DeriveInput, Fields, parse_macro_input};
#![feature(coverage_attribute)]
extern crate proc_macro;
use proc_macro::{Span, TokenStream};
@ -21,6 +22,7 @@ use syn::Ident;
use syn::parse_macro_input;
use syn::{Data, Fields};
#[coverage(off)]
#[proc_macro_derive(FieldsAsSlice, attributes(INTEGER, NULL, REAL, TEXT, BLOB))]
pub fn derive_iterable(input: TokenStream) -> TokenStream {
let input = parse_macro_input!(input as DeriveInput);

7
xtask/Cargo.toml Normal file
View File

@ -0,0 +1,7 @@
[package]
name = "xtask"
edition = "2024"
version.workspace = true
[dependencies]
xtaskops = "0.4.2"

3
xtask/src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
let _ = xtaskops::tasks::main();
}