Commit Graph

36 Commits

Author SHA1 Message Date
7beea1a36b
Collection: cast to concrete type
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-13 16:57:46 +01:00
0c9bd1948f
Collection work
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-13 10:29:14 +01:00
87b83371e8
tiny cleanup
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-11 20:53:27 +01:00
590fdbf25a
Pkg Options and their tracking in dependencies
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-11 18:40:16 +01:00
c80cabe74e
Collection: more work, pkg_builders
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-08 18:08:20 +01:00
2e75c8a8f9
Split repos in their own modules
also start working on collections

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-06 16:48:30 +01:00
081d0ecbc1
Repo to repo with deps, test
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-04 16:38:04 +01:00
a615ee13ba
pkg: add trait deps
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-04 13:40:44 +01:00
ae44556dd7
better ergonomics: hide generics in packages
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-03 22:40:16 +01:00
34a1771695
Package names should ne snake case
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-03 21:30:53 +01:00
bf8f6721a4
Pkg: actually require argument to be a repo
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-03 21:14:12 +01:00
46b7e9282d
probably wrong way to connect repo to pkgs
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-03 17:26:53 +01:00
00e93ce612
Package dependencies
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-12-02 12:21:29 +01:00
631c3a19e5
repo: get list of pkgs and boxed pkg
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-30 13:41:21 +01:00
f08ae227a2
Repo: packages in PhantomData
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-30 11:27:34 +01:00
a5722bff5c
Package: remove .base/defer, copy with macro
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-29 17:09:56 +01:00
96ac418e2f
don't double-derive ::bok::Repository and Debug
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-17 12:45:24 +01:00
9a83bf0dfa
repo fields multiple extend
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-16 23:28:54 +01:00
5d3fde9481
bok-macro: use sub modules
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-16 12:52:55 +01:00
ba5e30e502
move repos to export/import base
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-16 12:39:45 +01:00
82d43e2829
Deps
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-11 22:08:53 +01:00
09cef1ff93
tested pkg up/downcast
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-11 21:16:06 +01:00
cfd50cf8be
Collection work
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-11 16:03:34 +01:00
860659548f
{Pkg,Repo}Name initial Collection
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-11 13:34:27 +01:00
ebc27deb4f
Pkg name, version
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-10 23:07:47 +01:00
ee85c1d5fa
PkgBuilder default_unused dyn
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-10 22:24:14 +01:00
a98b1fb653
Pkg dyn base
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-10 20:59:48 +01:00
103ba9b926
Debug, builder, hasher
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-11-10 19:31:48 +01:00
ddca7cc452
::bok::impl_package to simplify trait implemet
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-28 11:28:02 +01:00
cc77805029
bok-macro as dep of bok
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-27 11:51:15 +01:00
11ecc75393
Display a package
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-27 11:34:43 +01:00
1d9ea5a699
Propagate _code to Pkg trait
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-25 09:08:18 +01:00
5ba2440e12
Initial test to convert function to TokenSteram
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-24 22:32:49 +01:00
a7ce242f09
idea: serialize package into rust code
Pkg configure/build/install generate a proc-macro2 TokenStream
that we will serialize into file and recompile

Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-17 22:14:41 +01:00
c83cf30a24
more builder
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-03-17 20:35:28 +01:00
48b4fc6113
Split in multiple crates, builders
Signed-off-by: Luca Fulchir <luca.fulchir@runesauth.com>
2024-02-25 17:15:30 +01:00