mirror of
https://gitee.com/openharmony/third_party_rust_codespan
synced 2024-11-27 17:40:22 +00:00
24 lines
759 B
TOML
24 lines
759 B
TOML
[package]
|
|
name = "codespan"
|
|
version = "0.8.0" # CODESPAN
|
|
readme = "../README.md"
|
|
license = "Apache-2.0"
|
|
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
|
|
description = "Data structures for tracking locations in source code"
|
|
homepage = "https://github.com/brendanzab/codespan"
|
|
repository = "https://github.com/brendanzab/codespan"
|
|
documentation = "https://docs.rs/codespan"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
codespan-reporting = { path = "../codespan-reporting", version = "0.8.0", optional = true } # CODESPAN
|
|
serde = { version = "1", optional = true, features = ["derive"]}
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.6"
|
|
|
|
[features]
|
|
default = ["reporting"]
|
|
reporting = ["codespan-reporting"]
|
|
serialization = ["serde", "codespan-reporting/serialization"]
|