Skip to content

Commit

Permalink
Update cargo metadata, add .typos.toml (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Jan 2, 2025
1 parent 9436823 commit f497426
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# See the configuration reference at
# https://github.com/crate-ci/typos/blob/master/docs/reference.md

# Corrections take the form of a key/value pair. The key is the incorrect word
# and the value is the correct word. If the key and value are the same, the
# word is treated as always correct. If the value is an empty string, the word
# is treated as always incorrect.

# Match Identifier - Case Sensitive
[default.extend-identifiers]

# Match Inside a Word - Case Insensitive
[default.extend-words]

[files]
# Include .github, .cargo, etc.
ignore-hidden = false
extend-exclude = [
# /.git isn't in .gitignore, because git never tracks it.
# Typos doesn't know that, though.
"/.git",
]
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "simplecss"
version = "0.2.1"
authors = ["Reizner Evgeniy <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
license = "Apache-2.0 OR MIT"
edition = "2021"
description = "A simple CSS 2 parser and selector."
repository = "https://github.com/RazrFalcon/simplecss"
repository = "https://github.com/linebender/simplecss"
keywords = ["css", "parser", "selector"]
categories = ["parser-implementations"]
edition = "2021"
exclude = ["testing-tools/**"]
readme = "README.md"
# Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml and with the relevant README.md files.
# and with the MSRV in the `Unreleased` section of CHANGELOG.md.
rust-version = "1.65"
exclude = [".github", ".clippy.toml", ".gitignore", ".typos.toml"]

[lints]
rust.unsafe_code = "forbid"
Expand Down

0 comments on commit f497426

Please sign in to comment.