forked from nadavrot/layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split library and binary into separate crates.
This allows the library to not depend on `clap`.
- Loading branch information
Showing
36 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
[package] | ||
name = "layout" | ||
name = "layout-cli" | ||
version = "0.1.0" | ||
authors = ["Nadav Rotem <[email protected]>"] | ||
edition = "2018" | ||
description = "A graph visualization program" | ||
keywords = ["visualization", "svg", "render", "dot", "graphviz"] | ||
|
||
# If you are looking for the library, see the `layout` directory in this repository. | ||
|
||
[[bin]] | ||
name = "layout" | ||
test = false | ||
|
@@ -16,9 +18,11 @@ name = "run" | |
test = false | ||
bench = false | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[workspace] | ||
members = ["layout"] | ||
|
||
[dependencies] | ||
layout = { path = "layout" } | ||
clap = "4.0.18" | ||
log = "0.4.17" | ||
env_logger = "0.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[package] | ||
name = "layout" | ||
version = "0.1.0" | ||
authors = ["Nadav Rotem <[email protected]>"] | ||
edition = "2018" | ||
description = "A graph visualization program" | ||
keywords = ["visualization", "svg", "render", "dot", "graphviz"] | ||
|
||
[dependencies] | ||
log = "0.4.17" |
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.
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.
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.
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.
File renamed without changes.
File renamed without changes.