From 2ff14448863ac1a1dd9533461708e29aae170c2d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:06:31 +0200 Subject: Adding debian version 1.65.0+dfsg1-2. Signed-off-by: Daniel Baumann --- vendor/pest/src/lib.rs | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'vendor/pest/src/lib.rs') diff --git a/vendor/pest/src/lib.rs b/vendor/pest/src/lib.rs index c55518c25..30f87db60 100644 --- a/vendor/pest/src/lib.rs +++ b/vendor/pest/src/lib.rs @@ -6,6 +6,7 @@ // license , at your // option. All files in the project carrying such notice may not be copied, // modified, or distributed except according to those terms. +#![no_std] //! # pest. The Elegant Parser //! @@ -63,6 +64,9 @@ #![doc(html_root_url = "https://docs.rs/pest")] +extern crate alloc; +#[cfg(feature = "std")] +extern crate std; extern crate ucd_trie; #[cfg(feature = "pretty-print")] @@ -70,13 +74,15 @@ extern crate serde; #[cfg(feature = "pretty-print")] extern crate serde_json; -pub use parser::Parser; -pub use parser_state::{state, Atomicity, Lookahead, MatchDir, ParseResult, ParserState}; -pub use position::Position; -pub use span::{Lines, Span}; -use std::fmt::Debug; -use std::hash::Hash; -pub use token::Token; +pub use crate::parser::Parser; +pub use crate::parser_state::{ + set_call_limit, state, Atomicity, Lookahead, MatchDir, ParseResult, ParserState, +}; +pub use crate::position::Position; +pub use crate::span::{Lines, LinesSpan, Span}; +pub use crate::token::Token; +use core::fmt::Debug; +use core::hash::Hash; pub mod error; pub mod iterators; -- cgit v1.2.3