diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:06:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:06:37 +0000 |
commit | 246f239d9f40f633160f0c18f87a20922d4e77bb (patch) | |
tree | 5a88572663584b3d4d28e5a20e10abab1be40884 /vendor/pest/src/lib.rs | |
parent | Releasing progress-linux version 1.64.0+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-246f239d9f40f633160f0c18f87a20922d4e77bb.tar.xz rustc-246f239d9f40f633160f0c18f87a20922d4e77bb.zip |
Merging debian version 1.65.0+dfsg1-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/pest/src/lib.rs')
-rw-r--r-- | vendor/pest/src/lib.rs | 20 |
1 files changed, 13 insertions, 7 deletions
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 <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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; |