1
Fork 0
mirror of https://github.com/RGBCube/cstree synced 2025-07-27 17:17:45 +00:00

Update CHANGELOG.md

This commit is contained in:
DQ 2023-04-26 20:22:12 +02:00 committed by GitHub
parent 39c8cd125e
commit 574adbde8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
* Documentation has been improved in most areas, together with a switch to a more principled module structure that allows explicitly documenting submodules. * Documentation has been improved in most areas, together with a switch to a more principled module structure that allows explicitly documenting submodules.
* The `Language` trait has been deprecated in favour of a new `Syntax` trait. `Syntax` provides the same methods that `Language` did before, but is implemented directly on the syntax kind enum instead of an additional type representing the language. * The `Language` trait has been deprecated in favour of a new `Syntax` trait. `Syntax` provides the same methods that `Language` did before, but is implemented directly on the syntax kind enum instead of an additional type representing the language.
* The supertrait requirements on `PartialOrd`, `Ord`, and `Hash` have been dropped. * The supertrait requirements on `PartialOrd`, `Ord`, and `Hash` have been dropped.
* TODO: this allows to optionally provide derive. To enable, add feature flag * This allows us to optionally provide a derive macro for `Syntax`. To enable the macro, add the `derive` feature flag in your `Cargo.toml` and `#[derive(Syntax)]` away!
* The `interning` module has been rewritten. It now provides fuctions for obtaining a default interner (`new_interner` and `new_threaded_interner`) and provides a small, dependency-free interner implementation. * The `interning` module has been rewritten. It now provides fuctions for obtaining a default interner (`new_interner` and `new_threaded_interner`) and provides a small, dependency-free interner implementation.
* Compatibility with other interners can be enable via feature flags. * Compatibility with other interners can be enable via feature flags.
* **Note** that compatibilty with `lasso` is not enabled by default. Use the `lasso_compat` feature to match the previous default. * **Note** that compatibilty with `lasso` is not enabled by default. Use the `lasso_compat` feature to match the previous default.