Commit graph

115 commits

Author SHA1 Message Date
Dzuchun
a69679da37 Derive crate minor version bump v0.4.2-derive 2025-04-01 03:43:17 +03:00
Dzuchun
30d16d6849 Derive crate repo link specification 2025-04-01 03:43:17 +03:00
Dzuchun
1eee5603c6 Derive crate relicense 2025-04-01 03:43:17 +03:00
Dzuchun
8da6405d9e Derive crate minor version bump
I consider this change to be a minor change, since actual public interface was
not changed in any way.
2025-04-01 03:43:17 +03:00
Dzuchun
5aece190aa Relicensed to LGPL 2025-04-01 03:43:17 +03:00
Dzuchun
8c1e9cdb7a Revert "Main crate depends on local derive crate now"
This reverts commit b47cf25a7d.
2025-04-01 03:43:17 +03:00
Dzuchun
c552570495 Minor tweaks and rewording 2025-04-01 03:12:04 +03:00
Dzuchun
119b7527e1 Re-implemented the derive macro
- used `syn::parse_quote!` instead of constructing `syn` structs
  directly. unsurprisingly, makes a world of difference!
- code is, like, 1k lines shorter now
- moved tests into dedicated crate
- tweaked the tests even more, to represent complete lack of dependency
  on external crates
2025-04-01 03:11:57 +03:00
Dzuchun
7b9d8c4599 LevMarModel to avoid user naming num_traits
Also somewhat tweaked the tests to show how external dependencies can be
avoided
2025-04-01 03:11:57 +03:00
Dzuchun
b47cf25a7d Main crate depends on local derive crate now 2025-04-01 03:11:57 +03:00
Dzuchun
b5f0dc8865 [Cargo.lock] 2025-03-30 08:53:53 +03:00
Dzuchun
fbe195a122 Bump derive crate to 0.4 2025-03-30 08:44:39 +03:00
Dzuchun
589a42ac69 v0.4.0 2025-03-30 08:42:07 +03:00
Dzuchun
4bbf1adda4 v0.5.0 2025-03-06 13:24:55 +02:00
Dzuchun
df9efe6b64 Migrated to edition 24 2025-03-06 13:23:42 +02:00
Dzuchun
321f468ee2 Disabled miri on doctests 2025-03-06 13:22:00 +02:00
Dzuchun
2caf24e265 Bumped dependencies
`generic-array-storage` 0.2.0 -> 0.4.0
`typenum` 1.17.0 -> 1.18.0
`rand` 0.8.5 -> 0.9.0
`proc-macro2` 1.0.93 -> 1.0.94
`quote` 1.0.38 -> 1.0.39
`syn` 2.0.96 -> 2.0.99
2025-03-06 13:08:52 +02:00
Dzuchun
633be96019 [Cargo.toml] 2025-03-06 13:04:08 +02:00
Dzuchun
361139a3a4 Made spellcheck happier 2025-03-06 13:03:53 +02:00
Dzuchun
5d2ece354c Reexported simba::{RealField, ComplexField} v0.4.1
- now explicitly depending on `simba`
- now using `simba/libm` feature. This should always provide users with
  required implementations for `f32`/`f64`, while falling back to `std`
  when possible, and using `libm`, if explicitly required (depend on
  `simba/force_libm` feature to do that). kudos to `simba`!
2025-01-18 04:23:20 +02:00
Dzuchun
95c50b88a2 v0.4 v0.4.0
- feature-locked modules requiring `nalgebra/alloc` feature.
2025-01-18 03:41:12 +02:00
Dzuchun
f9d6f7e950 Fixed nalgebra/alloc feature mishandling 2025-01-18 03:36:25 +02:00
Dzuchun
7d73347051 Added katex.html to package
since apparently `docs.rs` DOES BUILD THE DOCS, what a surprise
2025-01-17 03:07:37 +02:00
Dzuchun
d1c15484e5 Made README.md work in a cargo package v0.3.7 2025-01-17 02:59:47 +02:00
Dzuchun
f6c859e2e2 Excluded unnecessary files from package 2025-01-17 02:58:53 +02:00
Dzuchun
af4b7e1dd8 Version bump to 0.3.7
also:
- removed unnecessary dependencies
- now all dependencies use `crates.io`-provided versions
2025-01-17 02:58:53 +02:00
Dzuchun
9158a2f321 Added meta necessary to publish 2025-01-17 02:58:08 +02:00
Dzuchun
154e2807bc Doc typos fix 2025-01-17 01:45:14 +02:00
Dzuchun
031e65c54c License update 2025-01-17 00:10:01 +02:00
Dzuchun
36fdf78718 derive: Added meta for publication 2025-01-17 00:04:55 +02:00
Dzuchun
f65dbd9238 derive: dependencies bump 2025-01-17 00:04:08 +02:00
Dzuchun
50a1e5bf23 Updated miri action to a new syntax v0.3.6 2025-01-04 14:05:05 +02:00
Dzuchun
86a2e79b81 [Cargo.lock] 2025-01-04 14:04:55 +02:00
Dzuchun
64e88b81b6 Proper crate version bumps 2025-01-04 14:04:55 +02:00
Dzuchun
8254510cb7 Made clippy happier 2025-01-04 14:04:55 +02:00
Dzuchun
4c15017270 Removed the tiny bit of unsafe present
So now there's no unsafe in this crate at all, and global
lint in workspace-level Cargo.toml strictly forbids it.
2025-01-04 14:04:55 +02:00
Dzuchun
d66537dbec Upgrade compatible 2025-01-04 13:46:56 +02:00
Dzuchun
b355c90f20 Moved tests into separate files v0.3.5 2024-11-27 02:16:03 +02:00
Dzuchun
6d1f09ffe0 [Cargo.lock] 2024-11-27 01:55:14 +02:00
Dzuchun
2bcf75d2ae Massive Gaussian functions rework.
- There are asymmetric gaussian models now.
- Now Gaussian model can be fit for both sigma and s_p in any
  combination.
- Renamed confusing `s` parameter to `sigma`.
- `Gaussian` and `GaussianW` are the same type now, whether
  fit happens for `sigma` is determined by a generic const.
2024-11-27 01:51:48 +02:00
Dzuchun
d79c9993e4 Made &mut mandatory in fit/fit_stat v0.3.4 2024-11-25 13:29:46 +02:00
Dzuchun
eb8d1798af Fixed "model is still borrowed" bug v0.3.3 2024-11-25 09:14:22 +02:00
Dzuchun
658b707e88 Convertion between identical FitStats v0.3.2 2024-11-25 08:32:49 +02:00
Dzuchun
151f38010a Simplified FitBound/FitBoundErr v0.3.1
Now there's no need to specify `Y`-data container, if it's the same as
`X`-data container.
2024-11-25 05:57:51 +02:00
Dzuchun
e554a98e33 Renames of entity fields 2024-11-25 05:51:48 +02:00
Dzuchun
451a7644d7 Even more aggressive bound simplfication 2024-11-25 05:51:18 +02:00
Dzuchun
3a71ebfc4d One more large type substitution 2024-11-24 17:58:31 +02:00
Dzuchun
b20fdcd0d3 Renamed Entity to Model in a bunch of places v0.3
(leftovers from earlier development stages)
2024-11-24 17:15:57 +02:00
Dzuchun
9d4c06a9e9 Scalar is now an associated type of FitModel
(that's a massive rewrite!)
This change might seem random, but it, in fact, simplifies usage A LOT.
Now, `Scalar` type is **determined** by model, which is what should
happen in the first place.
2024-11-24 17:11:35 +02:00
Dzuchun
68641ac7e5 Hidden polynomial module from doc 2024-11-24 16:54:17 +02:00