85 lines
1.7 KiB
TOML
85 lines
1.7 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 = "2018"
|
|
rust-version = "1.63"
|
|
name = "cssparser"
|
|
version = "0.34.1"
|
|
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
|
|
build = false
|
|
exclude = [
|
|
"src/css-parsing-tests/**",
|
|
"src/big-data-url.css",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Rust implementation of CSS Syntax Level 3"
|
|
documentation = "https://docs.rs/cssparser/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"css",
|
|
"syntax",
|
|
"parser",
|
|
]
|
|
license = "MPL-2.0"
|
|
repository = "https://github.com/servo/rust-cssparser"
|
|
|
|
[features]
|
|
bench = []
|
|
dummy_match_byte = []
|
|
skip_long_tests = []
|
|
|
|
[lib]
|
|
name = "cssparser"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
dtoa-short = "0.3"
|
|
itoa = "1.0"
|
|
smallvec = "1.0"
|
|
|
|
[dependencies.cssparser-macros]
|
|
version = "0.6.1"
|
|
path = "./macros"
|
|
|
|
[dependencies.malloc_size_of]
|
|
version = "0.1"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.phf]
|
|
version = "0.11.2"
|
|
features = ["macros"]
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
difference = "2.0"
|
|
encoding_rs = "0.8"
|
|
serde_json = "1.0.25"
|
|
|
|
[workspace]
|
|
members = [
|
|
".",
|
|
"./macros",
|
|
"./color",
|
|
]
|
|
|
|
[profile.profiling]
|
|
debug = 2
|
|
inherits = "release"
|