Closed gagbo closed 1 year ago
i think there is nothing stopping us from publishing the am
library on crates.io, no? it's already setup this way as we have two crates in this repo actually, am
(the cli tool) and autometrics-am
(the library).
imo adjusting the release schedule also doesnt seem like a problem
for the subcommand, maybe something like am functions
?
I also need to remember to change the download location in the github action. I'll try to track the issue there as well
Seems like it's going to be the plan:
am_list
won't be published on crates-io anymore: for the time being there are no dependents on am_list
that also want to be on crates-io. This means all dependents on am_list
can just use a git-dependency in their Cargo.tomlam_list
will just be included as a subdirectory of the library: for the time being, am
is not a workspace, and changing that adds a lot of extra work that's not really necessary today. To balance the risk of having a huge dependency tree when someone just wants the am_list
library part, the library part of am
will have a lot of features about each submodule (all active by default, for the binary). Then dependents can pick each part of am
they want using no-default-features = true
am
:
(file_name, line, column)
)
Now that
am_list
(both the binary and the library) is stable, it's probably ready to be included inam
entirely. There are 2 main things to take care of when integrating this:am
must either:am_list
as a workspace member that can be publishedIn any case, it's probably going to have an impact on the release cycle for
am
, as adding/fixing support for specific languages must trigger a new version release as soon as possible for the dependent projects.I think all the rest can be handled without too much issue, I can do that integration once those points are solved.