binius_utils/
felts.rs

1// Copyright 2024-2025 Irreducible Inc.
2
3// If the macro is not used in the same module, rustc thinks it is unused for some reason
4#[allow(unused_macros, unused_imports)]
5pub mod macros {
6	#[macro_export]
7	macro_rules! felts {
8		($f:ident[$($elem:expr),* $(,)?]) => { vec![$($f::from($elem)),*] };
9	}
10	pub use felts;
11}