From 524730e3ac779f389d456079ffdd96b4033bcba8 Mon Sep 17 00:00:00 2001 From: GrayJack Date: Wed, 2 Jun 2021 00:13:46 -0300 Subject: [PATCH] Small changes --- CHANGELOG.md | 13 +++++++++---- README.md | 5 +---- src/lib.rs | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94e87ce034..a2ace6589a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,10 @@ All notable changes to the library should be put here ## 0.3.0 +### Changes + - **BREAKING:** Rename `as_ptr_mut` to `as_mut_ptr` - **BREAKING:** Rename `as_raw_mut` to `as_mut_raw` -- **BREAKING:** Change definition of `IsJanetAbstract` trait - **BREAKING:** `JanetAbstract::new` now takes a value - **BREAKING:** Make the `janetrs::types` module private and export everything inside it in the upper module - **BREAKING:** Modify `From<&str>` for `Janet` to return a Janet keyword if `&str` starts with `:` @@ -28,9 +29,6 @@ All notable changes to the library should be put here - Add `Janet::int64` - Add `Janet::uint64` - Create `janetrs_version` crate to use as common code used by `janet_version` macro and `janetrs::util` module -- Expose `jcatch!` macro only if Janet version supports the underlying mechanism -- Fix some clippy lints -- Fix compilation on no_std environment. - Implement `DeepEq` for most types - Implement `Debug` and `Display` for `JanetSymbol` - Implement `Debug` and `Display` for `JanetKeyword` @@ -45,6 +43,13 @@ All notable changes to the library should be put here - Refactor `Display` implementation of `Janet` type - Refactor some implementations of `From` and `TryFrom` related to `Janet` type - Reduce code duplication in `JanetAbstract` functions + +### Fixes + +- **BREAKING:** Change definition of `IsJanetAbstract` trait +- Expose `jcatch!` macro only if Janet version supports the underlying mechanism +- Fix some clippy lints +- Fix compilation on no_std environment. - Make some functions const if using a recent enough Rust version ## 0.2.0 diff --git a/README.md b/README.md index 4c21dda296..b6ea203d9d 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,7 @@ This software is licensed under the terms of the [MIT Public License](./LICENSE) ### TODO: Types: Lacking or Incomplete -- [x] JanetAbstract -- [x] JanetFiber -- [x] JanetFunction -- [x] GC functions +- [ ] Marshaling `[ ]: Lacking` `[I]: Incomplete` diff --git a/src/lib.rs b/src/lib.rs index 1bb91ad74b..c9fb06a1ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,7 +42,7 @@ //! This software is licensed under the terms of the [MIT Public License](./LICENSE). //! //! ### TODO: Types/Traits: Lacking or Incomplete -//! - [X] Marshaling +//! - [ ] Marshaling //! //! `[ ]: Lacking` //! `[I]: Incomplete`