mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
5a68abb094
In the lexer, consider emojis to be valid identifiers and reject them later to avoid knock down parse errors.
24 lines
558 B
TOML
24 lines
558 B
TOML
[package]
|
|
name = "rustc_lexer"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2021"
|
|
|
|
repository = "https://github.com/rust-lang/rust/"
|
|
description = """
|
|
Rust lexer used by rustc. No stability guarantees are provided.
|
|
"""
|
|
|
|
# Note: do not remove this blank `[lib]` section.
|
|
# This will be used when publishing this crate as `rustc-ap-rustc_lexer`.
|
|
[lib]
|
|
doctest = false
|
|
|
|
# Note that this crate purposefully does not depend on other rustc crates
|
|
[dependencies]
|
|
unicode-xid = "0.2.0"
|
|
unic-emoji-char = "0.9.0"
|
|
|
|
[dev-dependencies]
|
|
expect-test = "1.0"
|