Commit graph nacfahi/nacfahi-derive
Author SHA1 Message Date
Dzuchun
c332a0f4fb update metadata 2025-12-29 06:12:20 +00:00
Dzuchun
22c48811ac Dependencies update
generic-array: 1.2.0 -> 1.3.5
generic-array-storage: 0.4.0 -> 0.5.0
levenberg-marquardt: 0.14.0 -> 0.15.0
nalgebra: 0.33.2 -> 0.34.1
typenum: 1.18.0 -> 1.19.0
simba: 0.9.0 -> 0.9.1
rand: 0.9.1 -> 0.9.2
proc-macro2: 1.0.95 -> 1.0.104
quote: 1.0.40 -> 1.0.45
syn: 2.0.102 -> 2.0.111
2025-12-29 05:49:46 +00:00
Dzuchun
3dd98e2801 proc-macro and syn bump 2025-12-22 22:27:58 +00:00
Dzuchun
e6f635ec44 [derive]: Fixed #1
That's a serious issue, so the previous version will be yanked
2025-12-22 22:27:58 +00:00
Dzuchun
eeab29b3da Derive crate minor version bump 2025-12-22 22:27:58 +00:00
Dzuchun
9f409762e7 Derive crate repo link specification 2025-12-22 22:27:58 +00:00
Dzuchun
51c7d3036c Derive crate relicense 2025-12-22 22:27:58 +00:00
Dzuchun
f708a89733 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-12-22 22:27:58 +00:00
Dzuchun
96ffd64c0c 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-12-22 22:27:58 +00:00
Dzuchun
924bb7db67 v0.4.0 2025-12-22 22:27:58 +00:00
Dzuchun
2358e01e1b Migrated to edition 24 2025-12-22 22:27:58 +00:00
Dzuchun
a72207eb37 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-12-22 22:27:58 +00:00
Dzuchun
7e0586fb46 Made spellcheck happier 2025-12-22 22:27:58 +00:00
Dzuchun
fa2263f58f derive: Added meta for publication 2025-12-22 22:27:58 +00:00
Dzuchun
f3941ccbf2 derive: dependencies bump 2025-12-22 22:27:58 +00:00
Dzuchun
05e4f31a02 Proper crate version bumps 2025-12-22 22:27:58 +00:00
Dzuchun
05e240cccd Upgrade compatible 2025-12-22 22:27:58 +00:00
Dzuchun
da26b480fd 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.
2025-12-22 22:27:57 +00:00
Dzuchun
d4ef7a8072 Restructured the crate
- Now using `generic_array_storage` v0.1.1 (Conv trait drastically
  changed).
- `FitModel::ParamCount` type now has a less strict type bound, allowing
  use of `typenum::Const` and even `nalgebra::Const`, if you feel like
  it.
- Removed `Params` argument from `ConstOptimizationProblem` and
  `DynOptimizationProblem`.
2025-12-22 22:27:57 +00:00
Dzuchun
e751cdfc81 Removed a single extra line feed 2025-12-22 22:27:57 +00:00
Dzuchun
4e38142251 Derive macro for sum 2025-12-22 22:27:57 +00:00
Dzuchun
ec5364fbb9 Added lints 2025-12-22 22:27:57 +00:00
Dzuchun
165748e638 Added initial files to the crates 2025-12-22 22:27:57 +00:00