Skip to content

Commit 8510646

Browse files
authored
Merge pull request #406 from A4-Tacks/no_std
Add no_std for peg crate
2 parents 6e5b6cf + 3359c27 commit 8510646

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg_attr(not(feature = "std"), no_std)]
2+
13
//! `rust-peg` is a simple yet flexible parser generator that makes it easy to
24
//! write robust parsers. Based on the [Parsing Expression
35
//! Grammar][wikipedia-peg] formalism, it provides a Rust macro that builds a

0 commit comments

Comments
 (0)