Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.47 KB

xcrust

Build Status

An experimental rewrite of mwl code in rust.

If coreutils can do it, so can we!

Projects we will try to rewrite:

  • extract
  • spikeanal/popanal
  • behav
  • xclust

For each project, we will test our work using mwsoft64 as a reference. Let's continue using that repository to host test data, rather than loading up this repository (except for very small files to test serialization).

Usage

Don't use it yet - there is actually no code here, it's a placeholder :)

Building

We manage dependencies with nix, so this is the easiest way to build the project.

Install nix if you don't have it already:

curl https://nixos.org/nix/install | sh

Then enter the nix shell, where you can build the project:

nix-shell
cargo run --bin xcrust-hello

Project organization

Shared code (the standard definition of a spike, LFP trace, etc) lives in the xcrust library in src/. Invididual executables live in directories under src/bin/<EXECUTABLE>/main.rs or src/bin/<EXECUTABLE>.rs.

Contributing

Please run cargo fmt before submitting pull requests, and if you have a pull request with many commits that don't logically need to be separated, flatten them to a smaller number with git rebase.

Contributions are greatly appreciated!