diff --git a/Cargo.toml b/Cargo.toml index ed37316e..dcbd70e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,10 +34,6 @@ tonic = "0.4.3" path = "agora-lnd-client" version = "0.0.0" -[dependencies.lnd-test-context] -path = "lnd-test-context" -optional = true - [dependencies.hyper] version = "0.14.7" features = ["server", "stream", "tcp", "http1", "http2"] @@ -77,10 +73,13 @@ tempfile = "3.2.0" version = "0.11.3" features = ["blocking", "stream"] +[dev-dependencies.lnd-test-context] +path = "lnd-test-context" + [[test]] name = "smoke" path = "tests/smoke.rs" test = false [features] -slow-tests = ["lnd-test-context"] +slow-tests = [] diff --git a/agora-lnd-client/Cargo.toml b/agora-lnd-client/Cargo.toml index 65cb7d69..d901e023 100644 --- a/agora-lnd-client/Cargo.toml +++ b/agora-lnd-client/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "agora-lnd-client" version = "0.0.0" +description = "Agora LND client library" authors = ["Casey Rodarmor ", "Sönke Hahn "] edition = "2018" +license = "CC0-1.0" +repository = "https://github.com/soenkehahn/agora" +homepage = "https://github.com/soenkehahn/agora" [lib] doctest = false diff --git a/justfile b/justfile index df7e020f..168c31f2 100644 --- a/justfile +++ b/justfile @@ -45,9 +45,11 @@ publish remote: all VERSION=`cargo run -- --version | cut -d' ' -f2` git diff --no-ext-diff --quiet --exit-code git branch | grep '* master' + (cd agora-lnd-client && cargo publish --dry-run) cargo publish --dry-run git tag -a $VERSION -m "Release version $VERSION" git push {{remote}} $VERSION + (cd agora-lnd-client && cargo publish) cargo publish clean-binaries: