#![cfg_attr(not(feature = "std"), no_std)]
#![forbid(unsafe_code)]
#![warn(
clippy::all,
clippy::pedantic,
clippy::cargo,
rust_2018_idioms,
future_incompatible,
unused,
unused_lifetimes,
unused_qualifications,
unused_results,
anonymous_parameters,
deprecated_in_future,
elided_lifetimes_in_paths,
explicit_outlives_requirements,
keyword_idents,
macro_use_extern_crate,
missing_doc_code_examples,
private_doc_tests,
single_use_lifetimes,
trivial_casts,
trivial_numeric_casts,
unreachable_pub,
unsafe_code,
variant_size_differences
)]
#![cfg_attr(feature = "std", warn(missing_debug_implementations,))]
extern crate proc_macro;
use proc_macro_hack::proc_macro_hack;
#[proc_macro_hack]
pub fn hex(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
zkp_macros_lib::hex(input.into()).into()
}
#[proc_macro_hack]
pub fn u256h(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
zkp_macros_lib::u256h(input.into()).into()
}
#[proc_macro_hack]
pub fn field_element(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
zkp_macros_lib::field_element(input.into()).into()
}