76 lines
1.5 KiB
TOML
76 lines
1.5 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.77.0"
|
|
name = "rowan"
|
|
version = "0.16.1"
|
|
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
|
|
build = false
|
|
exclude = [
|
|
".github/",
|
|
"bors.toml",
|
|
"rustfmt.toml",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Library for generic lossless syntax trees"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-analyzer/rowan"
|
|
|
|
[lib]
|
|
name = "rowan"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "math"
|
|
path = "examples/math.rs"
|
|
|
|
[[example]]
|
|
name = "s_expressions"
|
|
path = "examples/s_expressions.rs"
|
|
|
|
[[test]]
|
|
name = "tidy"
|
|
path = "tests/tidy.rs"
|
|
|
|
[dependencies.countme]
|
|
version = "3.0.0"
|
|
|
|
[dependencies.hashbrown]
|
|
version = "0.14.3"
|
|
features = ["inline-more"]
|
|
default-features = false
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "1.0.1"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.89"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.text-size]
|
|
version = "1.1.0"
|
|
|
|
[dev-dependencies.m_lexer]
|
|
version = "0.0.4"
|
|
|
|
[features]
|
|
serde1 = [
|
|
"serde",
|
|
"text-size/serde",
|
|
]
|