Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Jun 2, 2021
1 parent d3aac31 commit 524730e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `:`
Expand All @@ -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`
Expand All @@ -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
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 524730e

Please sign in to comment.