| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.63" |
| 15 |
name = "cssparser" |
| 16 |
version = "0.34.1" |
| 17 |
authors = ["Simon Sapin <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"src/css-parsing-tests/**", |
| 21 |
"src/big-data-url.css", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Rust implementation of CSS Syntax Level 3" |
| 29 |
documentation = "https://docs.rs/cssparser/" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"css", |
| 33 |
"syntax", |
| 34 |
"parser", |
| 35 |
] |
| 36 |
license = "MPL-2.0" |
| 37 |
repository = "https://github.com/servo/rust-cssparser" |
| 38 |
|
| 39 |
[features] |
| 40 |
bench = [] |
| 41 |
dummy_match_byte = [] |
| 42 |
skip_long_tests = [] |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "cssparser" |
| 46 |
path = "src/lib.rs" |
| 47 |
|
| 48 |
[dependencies] |
| 49 |
dtoa-short = "0.3" |
| 50 |
itoa = "1.0" |
| 51 |
smallvec = "1.0" |
| 52 |
|
| 53 |
[dependencies.cssparser-macros] |
| 54 |
version = "0.6.1" |
| 55 |
path = "./macros" |
| 56 |
|
| 57 |
[dependencies.malloc_size_of] |
| 58 |
version = "0.1" |
| 59 |
optional = true |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.phf] |
| 63 |
version = "0.11.2" |
| 64 |
features = ["macros"] |
| 65 |
|
| 66 |
[dependencies.serde] |
| 67 |
version = "1.0" |
| 68 |
features = ["derive"] |
| 69 |
optional = true |
| 70 |
|
| 71 |
[dev-dependencies] |
| 72 |
difference = "2.0" |
| 73 |
encoding_rs = "0.8" |
| 74 |
serde_json = "1.0.25" |
| 75 |
|
| 76 |
[workspace] |
| 77 |
members = [ |
| 78 |
".", |
| 79 |
"./macros", |
| 80 |
"./color", |
| 81 |
] |
| 82 |
|
| 83 |
[profile.profiling] |
| 84 |
debug = 2 |
| 85 |
inherits = "release" |