Code Monkey home page Code Monkey logo

kuchiki's Introduction

Kuchikiki (口利き)

HTML tree-manipulation library for Rust.

Documentation

This is a fork of the Kuchiki (朽木) library, which in now unmaintained. The Brave project is still using a branch, and so will continue to support this repository. You can use this version by updating the name in your Cargo.toml (add an extra ki!) and then remap code references to the new name, e.g. with

use kuchikiki as kuchiki

See the Security Policy for information on reporting vulnerabilities.

kuchiki's People

Contributors

alexanderkjall avatar anonyfox avatar antonok-edm avatar atouchet avatar atul9 avatar benoitzugmeyer avatar cuviper avatar dfrankland avatar fabianbieler avatar ferristseng avatar forbjok avatar guillaumegomez avatar jdm avatar jyn514 avatar kennytm avatar mihaiplesa avatar mitaa avatar mwcz avatar notriddle avatar quininer avatar razielgn avatar renovate[bot] avatar rillian avatar rofrol avatar simonsapin avatar thypon avatar ucarion avatar untitaker avatar wknapik avatar ygg01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kuchiki's Issues

Maintainership

We've been using a fork of this as part of the speedreader feature in the brave browser for some years. Upstream has archived their repo, so we're now the sole maintainers for our use case.

I propose the following steps to clean up our code here:

  • Review repo config and update to our normal practices
  • Merge outstanding upstream changes to our branch
  • Fix tests on our branch
  • Add github action to run tests
  • Merge outstanding upstream changes to main
  • See if it's feasible to merge our changes into main
  • See if former upstream wants to hand over the crates.io namespace so we can make releases.

Update to cssparser 0.28 and selectors 0.23

Next step, we'd like to port to the dependency versions above to match what's currently used by adblock-rust to align dependencies for brave-core. Neither of these are the latest releases, but they're on the way to being up to date and useful in the meantime.

Migrate speedreader to indexmap v2

We were keeping the speedreader branch on indexmap v1 to avoid dependency multiversions on the brave browser project. Now that toml has ported, we can upgrade here as well.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update actions/checkout action to v4.1.5

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

cargo
Cargo.toml
  • cssparser 0.27
  • html5ever 0.27.0
  • selectors 0.22
  • indexmap 2.2.6
  • tempfile 3
github-actions
.github/workflows/audit.yaml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions-rs/audit-check v1.2.0@35b7b53b1e25b55642157ac01b4adceb5b9ebef3
.github/workflows/lint.yaml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • Swatinem/rust-cache v2.7.3@23bce251a8cd2ffc3c1075eaa2367cf899916d84
.github/workflows/tests.yaml
  • actions/checkout v4.1.4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • Swatinem/rust-cache v2.7.3@23bce251a8cd2ffc3c1075eaa2367cf899916d84

  • Check this box to trigger a request for Renovate to run again on this repository

Concrete error types

Clippy complains about select and compile returning () as an error. Using an empty struct is better, since the Error trait can actually be implemented for it.

We should do that for a better API and clean lint report, but it's a public API change, so should wait for a semver bump. I'd like to make a compatible 0.8.2 at least first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.