Skip to content

Commit

Permalink
feat: add empty msc-weather crate
Browse files Browse the repository at this point in the history
  • Loading branch information
calebissharp committed May 20, 2024
1 parent c5c138e commit b37539a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[workspace]
name = "cffdrs-rs"
resolver = "2"

members = ["crates/*"]
members = [
"crates/cffdrs",
"crates/msc-weather",
]
6 changes: 6 additions & 0 deletions crates/msc-weather/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "msc-weather"
version = "0.0.0"
edition = "2021"

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

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

#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages": {
"crates/cffdrs": {}
"crates/msc-weather": {}
},
"plugins": ["cargo-workspace"],
"release-type": "rust"
Expand Down

0 comments on commit b37539a

Please sign in to comment.