Commit Graph

481 Commits

Author SHA1 Message Date
Sebastian Schmidt
36ee042bd7 Update changelog. 2021-06-02 18:08:32 +03:00
Sebastian Schmidt
9aa025242d Add coverage report. 2021-06-02 18:00:50 +03:00
Sebastian Schmidt
aeb822db9c Move MRSV statement higher up in readme. 2021-06-02 17:51:51 +03:00
Sebastian Schmidt
63b8a43bd6 Update MSRV. 2021-06-02 17:43:37 +03:00
Sebastian Schmidt
27ce5300a7 Fix yaml syntax. 2021-06-02 17:30:43 +03:00
Sebastian Schmidt
00a4dd0eab Add more experimental MSRVs. 2021-06-02 17:30:03 +03:00
Sebastian Schmidt
4cb916f80c Only lint on stable. 2021-06-02 17:29:30 +03:00
Sebastian Schmidt
5544c27e8f Add clippy and rustfmt to CI toolchain. 2021-06-02 17:24:34 +03:00
Sebastian Schmidt
1d96ced45c Format only on nightly. 2021-06-02 17:21:55 +03:00
Sebastian Schmidt
7cfa944efa Add parentheses to job name. 2021-06-02 17:16:59 +03:00
Sebastian Schmidt
efdaa2f1c3 Fix CI fmt command and make more use of test matrix. 2021-06-02 17:15:59 +03:00
Sebastian Schmidt
0e3fbc17d4 Ad MSRV and github CI script. 2021-06-02 17:04:49 +03:00
Sebastian Schmidt
f880482f06 Move predefined module into context module. 2021-06-02 16:50:37 +03:00
ISibboI
1532c65a3d
Merge pull request #80 from olback/math-consts-context
Add math consts context
2021-06-02 16:46:29 +03:00
ISibboI
7d2f2f86c3
Merge pull request #79 from olback/common-math-functions
Add common math functions
2021-06-02 16:43:23 +03:00
Edwin Svensson
a25b347c17
fix tests 2021-05-31 01:15:01 +02:00
Edwin Svensson
9f691206dd
move to new 'predefined' module and add link to f64 docs 2021-05-31 01:13:24 +02:00
Edwin Svensson
10a388aaf3
'namespace' & document math functions 2021-05-31 01:04:33 +02:00
Edwin Svensson
ec880155c7
add math consts context 2021-05-30 11:08:59 +02:00
Edwin Svensson
8491bc61fc
add common math functions 2021-05-30 08:52:28 +02:00
Sebastian Schmidt
1bed7e1f9f (cargo-release) start next development iteration 6.0.1-alpha.0 2021-05-28 15:15:33 +03:00
Sebastian Schmidt
f81e151c05 (cargo-release) version 6.0.0 2021-05-28 15:15:17 +03:00
Sebastian Schmidt
b4974a8a2b Prepare for 6.0.0. 2021-05-28 15:14:52 +03:00
ISibboI
60c86863a6
Merge pull request #78 from ISibboI/isibboi/i76_make_function_clone_send_sync
Isibboi/i76 make function clone send sync
2021-05-28 14:29:46 +03:00
Sebastian Schmidt
77e148fcd4 Ensure that Function implements Send and Sync.
Relates to #76
2021-05-28 14:27:41 +03:00
ISibboI
4b3ae378a8
Merge pull request #75 from ISibboI/isibboi/i73_add_call_function
Change context trait.
2021-05-28 14:20:28 +03:00
Sebastian Schmidt
bee98999db Make Function clone.
To achieve this, the function type wrapped by Function was changed to remove the `Box`.

Relates to #73
2021-05-28 14:12:26 +03:00
Sebastian Schmidt
9fc86a934f Change context trait.
Instead of one catchall trait for contexts, there are now several:

 * `Context` is now a "use-only" context, allowing only to retrieve variable names and call functions.
 * `ContextWithMutableVariables` also allows to mutate variables.
 * `ContextWithMutableFunctions` also allows to mutate functions. However this is not used anywhere at the moment. It will come in handy when the evalexpr language gets a function definition feature.
 * `GetFunctionContext` also allows to retrieve functions as `Function` type. This is uncommented at the moment, as it does not have any use in the crate as of now, and likely also not with planned future features.

 Additionally, this commit makes functions generic over the context type, as opposed to having a dynamic reference to a context type.

Relates to #73
2021-05-28 10:27:32 +03:00
Sebastian Schmidt
fd3063fc64 Reduce unwrap()s.
Relates to #14
2021-05-28 09:40:58 +03:00
Sebastian Schmidt
862bfae920 Add #![forbid(unsafe_code)]
Closes #70
2021-05-28 09:30:26 +03:00
Sebastian Schmidt
5cac04be4d Remove Cargo.lock.
Closes #71
2021-05-28 09:29:03 +03:00
Sebastian Schmidt
2c94089de3 (cargo-release) start next development iteration 5.1.1-alpha.0 2021-05-28 09:27:29 +03:00
Sebastian Schmidt
7e3cbbc715 (cargo-release) version 5.1.0 2021-05-28 09:27:07 +03:00
ISibboI
125bb2d4b1
Merge pull request #74 from ISibboI/isibboi/i72_make_node_cloneable
Isibboi/i72 make node cloneable
2021-05-28 09:14:24 +03:00
Sebastian Schmidt
7bc05e0770 Make node cloneable. 2021-05-28 09:09:04 +03:00
Sebastian Schmidt
6e5ff8615a Fix lints and benches. 2021-05-28 09:07:26 +03:00
Sebastian Schmidt
1316ae63d0 Update code formatting. 2021-05-28 08:56:21 +03:00
Sebastian Schmidt
ca164dc954 Add cov files to .gitignore 2019-09-13 17:53:04 +02:00
Sebastian Schmidt
f45d871f16 (cargo-release) start next development iteration 5.0.5 2019-09-13 17:46:42 +02:00
Sebastian Schmidt
fe900db734 (cargo-release) version 5.0.5 2019-09-13 17:46:26 +02:00
Sebastian Schmidt
d0bc7b562b (cargo-release) version 5.0.5-alpha.4 2019-09-13 17:38:18 +02:00
Sebastian Schmidt
8cb38e0433 Move maintenance badge to top 2019-09-13 17:38:15 +02:00
Sebastian Schmidt
c6fd19b252 (cargo-release) version 5.0.5-alpha.3 2019-09-13 17:37:14 +02:00
Sebastian Schmidt
36075e9822 Update changelog 2019-09-13 17:37:10 +02:00
Sebastian Schmidt
0a55494ec5 Fix maintenance status 2019-09-13 17:36:52 +02:00
Sebastian Schmidt
7297e90fa0 (cargo-release) version 5.0.5-alpha.2 2019-09-13 17:36:06 +02:00
Sebastian Schmidt
0e87820922 Fix typo 2019-09-13 17:36:02 +02:00
Sebastian Schmidt
560e1f7594 (cargo-release) version 5.0.5-alpha.1 2019-09-13 17:35:08 +02:00
Sebastian Schmidt
054dea4a61 Update changelog 2019-09-13 17:35:01 +02:00
Sebastian Schmidt
519be9620e Fix is-it-maintained badges 2019-09-13 17:33:21 +02:00