Skip to content

Commit

Permalink
Set up all expected v1.0.0 crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad-Edwards committed Dec 24, 2024
1 parent 800b144 commit a2fd35f
Show file tree
Hide file tree
Showing 87 changed files with 1,622 additions and 6 deletions.
53 changes: 47 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,58 @@
[workspace]
members = [
"shared/blocks-core",
"shared/blocks-primitives",
"shared/blocks-utils",
"shared/blocks-tests"
"crates/shared/blocks-core",
"crates/shared/blocks-utils",
"crates/shared/blocks-tests",
# Computer Science
"crates/cs/blocks-cs-core",
"crates/cs/blocks-cs-sort",
"crates/cs/blocks-cs-search",
"crates/cs/blocks-cs-string",
"crates/cs/blocks-cs-tree",
"crates/cs/blocks-cs-dp",
"crates/cs/blocks-cs-dist",
"crates/cs/blocks-cs-mem",
"crates/cs/blocks-cs-txn",
"crates/cs/blocks-cs-sched",
"crates/cs/blocks-cs-hpc",
"crates/cs/blocks-cs-hash",
"crates/cs/blocks-cs-sec",
"crates/cs/blocks-cs-comp",
"crates/cs/blocks-cs-ecc",
"crates/cs/blocks-cs-stream",
"crates/cs/blocks-cs-quantum",
"crates/cs/blocks-cs-graph",
# Mathematics
"crates/math/blocks-math-core",
"crates/math/blocks-math-num",
"crates/math/blocks-math-geometry",
"crates/math/blocks-math-combo",
"crates/math/blocks-math-optim",
"crates/math/blocks-math-ilp",
"crates/math/blocks-math-sat",
# Statistics
"crates/stats/blocks-stats-core",
"crates/stats/blocks-stats-bayesian",
"crates/stats/blocks-stats-rand",
"crates/stats/blocks-stats-signal",
"crates/stats/blocks-stats-prob",
"crates/stats/blocks-stats-approx",
# Machine Learning
"crates/ml/blocks-ml-core",
"crates/ml/blocks-ml-classic",
"crates/ml/blocks-ml-deep",
"crates/ml/blocks-ml-rl",
"crates/ml/blocks-ml-cv",
"crates/ml/blocks-ml-nlp",
"crates/ml/blocks-ml-game-search"
]

[workspace.package]
version = "0.1.0"
edition = "2021"
authors = []
authors = ["Brad Edwards <[email protected]>"]
license = "MIT"
repository = "https://github.com/atomiklabs/blocks"
resolver = "2"

[workspace.dependencies]
# Common dependencies will be added here as needed
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-comp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-comp"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-comp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-dist/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-dist"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-dist/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-dp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-dp"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-dp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-ecc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-ecc"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-ecc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-graph/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-graph"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-graph/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-hash"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-hash/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-hpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-hpc"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-hpc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-mem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-mem"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-mem/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-quantum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-quantum"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-quantum/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-sched/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-sched"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-sched/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-search/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-search"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-search/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-sec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-sec"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
14 changes: 14 additions & 0 deletions crates/cs/blocks-cs-sec/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
9 changes: 9 additions & 0 deletions crates/cs/blocks-cs-sort/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "blocks-cs-sort"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
Loading

0 comments on commit a2fd35f

Please sign in to comment.