-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
155 changed files
with
28,436 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
third_party/rust/chromium_crates_io/vendor/cssparser-0.34.0/.cargo_vcs_info.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"git": { | ||
"sha1": "5dc6d916a73159745e1fc1dd1f745e05d3130b0f" | ||
}, | ||
"path_in_vcs": "" | ||
} |
81 changes: 81 additions & 0 deletions
81
third_party/rust/chromium_crates_io/vendor/cssparser-0.34.0/.github/workflows/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
workflow_dispatch: | ||
merge_group: | ||
types: [checks_requested] | ||
|
||
jobs: | ||
linux-ci: | ||
name: Linux | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
- nightly | ||
- beta | ||
- stable | ||
- 1.63.0 | ||
features: | ||
- | ||
- --features dummy_match_byte | ||
include: | ||
- toolchain: nightly | ||
features: --features bench | ||
- toolchain: nightly | ||
features: --features bench,dummy_match_byte | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.toolchain }} | ||
override: true | ||
components: rustfmt, clippy, ${{ matrix.toolchain == 'nightly' && 'miri,rust-src' || '' }} | ||
|
||
- name: Cargo format & lint | ||
run: cargo fmt --check && cargo clippy -- -Dwarnings | ||
|
||
- name: Cargo build | ||
run: cargo build ${{ matrix.features }} | ||
|
||
- name: Cargo doc | ||
run: cargo doc ${{ matrix.features }} | ||
|
||
- name: Cargo test | ||
run: cargo test ${{ matrix.features }} | ||
|
||
- name: macros build | ||
run: cargo build | ||
working-directory: macros | ||
|
||
- name: Color build | ||
run: cargo build | ||
working-directory: color | ||
|
||
- name: Color test | ||
run: cargo test | ||
working-directory: color | ||
|
||
- name: Cargo miri test | ||
if: "matrix.toolchain == 'nightly'" | ||
run: cargo miri test --features skip_long_tests ${{ matrix.features }} | ||
|
||
build_result: | ||
name: Result | ||
runs-on: ubuntu-latest | ||
needs: | ||
- "linux-ci" | ||
|
||
steps: | ||
- name: Mark the job as successful | ||
run: exit 0 | ||
if: success() | ||
- name: Mark the job as unsuccessful | ||
run: exit 1 | ||
if: "!success()" |
3 changes: 3 additions & 0 deletions
3
third_party/rust/chromium_crates_io/vendor/cssparser-0.34.0/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
target | ||
/Cargo.lock | ||
/.cargo/config |
70 changes: 70 additions & 0 deletions
70
third_party/rust/chromium_crates_io/vendor/cssparser-0.34.0/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# 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.0" | ||
authors = ["Simon Sapin <simon.sapin@exyr.org>"] | ||
exclude = [ | ||
"src/css-parsing-tests/**", | ||
"src/big-data-url.css", | ||
] | ||
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" | ||
|
||
[profile.profiling] | ||
debug = 2 | ||
inherits = "release" | ||
|
||
[dependencies.cssparser-macros] | ||
version = "0.6.1" | ||
|
||
[dependencies.dtoa-short] | ||
version = "0.3" | ||
|
||
[dependencies.itoa] | ||
version = "1.0" | ||
|
||
[dependencies.phf] | ||
version = "0.11.2" | ||
features = ["macros"] | ||
|
||
[dependencies.serde] | ||
version = "1.0" | ||
features = ["derive"] | ||
optional = true | ||
|
||
[dependencies.smallvec] | ||
version = "1.0" | ||
|
||
[dev-dependencies.difference] | ||
version = "2.0" | ||
|
||
[dev-dependencies.encoding_rs] | ||
version = "0.8" | ||
|
||
[dev-dependencies.serde_json] | ||
version = "1.0.25" | ||
|
||
[features] | ||
bench = [] | ||
dummy_match_byte = [] | ||
skip_long_tests = [] |
Oops, something went wrong.