Commit graph nacfahi/nacfahi-derive
Author SHA1 Message Date
Dzuchun
b88fffd7ff [derive]: Fixed #1
That's a serious issue, so the previous version will be yanked
2025-04-29 08:14:31 +03:00
Dzuchun
a69679da37 Derive crate minor version bump 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
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
589a42ac69 v0.4.0 2025-03-30 08:42:07 +03:00
Dzuchun
df9efe6b64 Migrated to edition 24 2025-03-06 13:23:42 +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
361139a3a4 Made spellcheck happier 2025-03-06 13:03:53 +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
64e88b81b6 Proper crate version bumps 2025-01-04 14:04:55 +02:00
Dzuchun
d66537dbec Upgrade compatible 2025-01-04 13:46:56 +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
dd5105d226 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`.
2024-11-23 16:26:06 +02:00
Dzuchun
b3197be57f Removed a single extra line feed 2024-11-20 05:49:46 +02:00
Dzuchun
83d4d29e5b Derive macro for sum 2024-11-20 05:12:03 +02:00
Dzuchun
8276536f16 Added lints 2024-11-20 03:47:16 +02:00
Dzuchun
08c316ae57 Added initial files to the crates 2024-11-20 03:46:09 +02:00