Skip to content

Commit

Permalink
Merge pull request #203 from carlaKC/cargo-license
Browse files Browse the repository at this point in the history
multi: add license to sim-lib and sim-cli
  • Loading branch information
carlaKC authored Nov 15, 2024
2 parents da0ab44 + 14dd200 commit d8c165d
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ resolver = "2"

members = [
"sim-cli",
"sim-lib",
"simln-lib",
]
3 changes: 2 additions & 1 deletion sim-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "sim-cli"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = """
Instantly simulate real-world Lightning network activity
"""
Expand All @@ -16,7 +17,7 @@ log = "0.4.20"
serde = "1.0.183"
serde_json = "1.0.104"
simple_logger = "4.2.0"
sim-lib = { path = "../sim-lib" }
simln-lib = { path = "../simln-lib" }
tokio = { version = "1.26.0", features = ["full"] }
bitcoin = { version = "0.30.1" }
ctrlc = "3.4.0"
Expand Down
5 changes: 2 additions & 3 deletions sim-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use bitcoin::secp256k1::PublicKey;
use sim_lib::SimulationCfg;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Arc;
Expand All @@ -9,9 +8,9 @@ use anyhow::anyhow;
use clap::builder::TypedValueParser;
use clap::Parser;
use log::LevelFilter;
use sim_lib::{
use simln_lib::{
cln::ClnNode, lnd::LndNode, ActivityDefinition, LightningError, LightningNode, NodeConnection,
NodeId, SimParams, Simulation, WriteResults,
NodeId, SimParams, Simulation, SimulationCfg, WriteResults,
};
use simple_logger::SimpleLogger;

Expand Down
7 changes: 4 additions & 3 deletions sim-lib/Cargo.toml → simln-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "sim-lib"
name = "simln-lib"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = """
Backend logic of the SimLN project. Contains all the functionality to build your own simulator
Components to build a network-agnostic lightning payments simulator. Used as the backend for the Sim-LN project.
"""

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down Expand Up @@ -33,4 +34,4 @@ mockall = "0.12.1"
rand_chacha = "0.3.1"

[dev-dependencies]
ntest = "0.9.0"
ntest = "0.9.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d8c165d

Please sign in to comment.