Skip to content

Commit d8c165d

Browse files
authored
Merge pull request #203 from carlaKC/cargo-license
multi: add license to sim-lib and sim-cli
2 parents da0ab44 + 14dd200 commit d8c165d

File tree

13 files changed

+11
-10
lines changed

13 files changed

+11
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ resolver = "2"
33

44
members = [
55
"sim-cli",
6-
"sim-lib",
6+
"simln-lib",
77
]

sim-cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "sim-cli"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "MIT"
56
description = """
67
Instantly simulate real-world Lightning network activity
78
"""
@@ -16,7 +17,7 @@ log = "0.4.20"
1617
serde = "1.0.183"
1718
serde_json = "1.0.104"
1819
simple_logger = "4.2.0"
19-
sim-lib = { path = "../sim-lib" }
20+
simln-lib = { path = "../simln-lib" }
2021
tokio = { version = "1.26.0", features = ["full"] }
2122
bitcoin = { version = "0.30.1" }
2223
ctrlc = "3.4.0"

sim-cli/src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use bitcoin::secp256k1::PublicKey;
2-
use sim_lib::SimulationCfg;
32
use std::collections::HashMap;
43
use std::path::PathBuf;
54
use std::sync::Arc;
@@ -9,9 +8,9 @@ use anyhow::anyhow;
98
use clap::builder::TypedValueParser;
109
use clap::Parser;
1110
use log::LevelFilter;
12-
use sim_lib::{
11+
use simln_lib::{
1312
cln::ClnNode, lnd::LndNode, ActivityDefinition, LightningError, LightningNode, NodeConnection,
14-
NodeId, SimParams, Simulation, WriteResults,
13+
NodeId, SimParams, Simulation, SimulationCfg, WriteResults,
1514
};
1615
use simple_logger::SimpleLogger;
1716

sim-lib/Cargo.toml renamed to simln-lib/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
2-
name = "sim-lib"
2+
name = "simln-lib"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "MIT"
56
description = """
6-
Backend logic of the SimLN project. Contains all the functionality to build your own simulator
7+
Components to build a network-agnostic lightning payments simulator. Used as the backend for the Sim-LN project.
78
"""
89

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

3536
[dev-dependencies]
36-
ntest = "0.9.0"
37+
ntest = "0.9.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)