Koeng101 / dnadesign

A Go package for designing DNA.
Other
23 stars 0 forks source link

Remove unneeded dependencies #28

Closed Koeng101 closed 10 months ago

Koeng101 commented 10 months ago

This PR removes dependencies that are not strictly needed.

Koeng101 commented 10 months ago

The following were/are going to be added directly to source tree: They're pretty much complete (no updates in years), so it is easier to just manage them internally:

On the top level go.mod should be replaced with a go.work file, with the submodule of the lib of DNA design being separate from the services. lib right now will only have Go project dependencies, but this may change if there is a sufficiently useful package that cannot be integrated into the source tree directly. In addition to lib, we will also have a wasm_lib directory with wasm dependencies, like minimap2, diamond, and sqlite (plus the required wazero). This repo will have minimal dependencies as well.

Once we get into services, it's a little bit more of the wild west. We will at least require:

Plus associated javascript like scalar

Koeng101 commented 10 months ago

Forgot to add: in Go 1.22 they're going to add better routing to the std, removing the need for chi. So that's nice.

Koeng101 commented 10 months ago

Keeping github.com/google/go-cmp for checking equivalence of lists and golang.org/x/sync for errgroup.

Koeng101 commented 10 months ago

Big todos: