-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split into library and binary (#149)
- Loading branch information
Showing
36 changed files
with
84 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,42 +1,20 @@ | ||
[package] | ||
[workspace] | ||
members = [ | ||
"metamath-rs", | ||
"metamath-knife", | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
authors = ["David A. Wheeler <[email protected]>", "Stefan O'Rear <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
name = "metamath-knife" | ||
readme = "README.md" | ||
version = "0.3.6" | ||
description = "A parallel and incremental verifier for Metamath databases" | ||
repository = "https://github.com/david-a-wheeler/metamath-knife" | ||
repository = "https://github.com/metamath/metamath-knife" | ||
keywords = ["theorem", "proving", "verifier", "proof", "assistant"] | ||
categories = ["command-line-utilities", "development-tools", "mathematics"] | ||
edition = "2021" | ||
|
||
[dependencies] | ||
lazy_static = "1.4" | ||
itertools = "0.10" | ||
filetime = "0.2" | ||
fnv = "1.0" | ||
regex = { version = "1.5", default-features = false, features = ["std", "perf"] } | ||
tinyvec = "1.5" | ||
log = "0.4" | ||
annotate-snippets = "0.9" | ||
typed-arena = "2.0" | ||
|
||
# Dependencies for standalone executable, not needed for a library | ||
clap = "2.33" | ||
simple_logger = "1.13" | ||
|
||
# Optional dependencies | ||
dot-writer = { version = "0.1.2", optional = true } | ||
xml-rs = { version = "0.8.14", optional = true } | ||
|
||
[dev-dependencies] | ||
assert_matches = "1.5" | ||
|
||
[features] | ||
default = ["annotate-snippets/color"] | ||
dot = ["dot-writer"] | ||
xml = ["xml-rs"] | ||
|
||
[profile] | ||
|
||
[profile.release] | ||
|
@@ -49,8 +27,3 @@ codegen-units = 4 | |
|
||
[profile.test] | ||
codegen-units = 4 | ||
|
||
[[bin]] | ||
name = "metamath-knife" | ||
path = "src/main.rs" | ||
doc = false |
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,22 @@ | ||
[package] | ||
name = "metamath-knife" | ||
readme = "metamath-knife/README.md" | ||
description = "A command-line tool for Metamath, including parallel and incremental verifier for Metamath databases" | ||
version = "0.3.6" | ||
authors.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
edition = "2021" | ||
|
||
[dependencies] | ||
clap = "2.33" | ||
simple_logger = "1.13" | ||
annotate-snippets = "0.9" | ||
metamath-rs = { path = "../metamath-rs" } | ||
|
||
[[bin]] | ||
name = "metamath-knife" | ||
path = "src/main.rs" | ||
doc = false |
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
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,34 @@ | ||
[package] | ||
name = "metamath-rs" | ||
readme = "metamath-rs/README.md" | ||
description = "A library manipulating Metamath databases, including a parallel and incremental verifier for Metamath databases" | ||
version = "0.3.6" | ||
authors.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
edition = "2021" | ||
|
||
[dependencies] | ||
lazy_static = "1.4" | ||
itertools = "0.10" | ||
filetime = "0.2" | ||
fnv = "1.0" | ||
regex = { version = "1.5", default-features = false, features = ["std", "perf"] } | ||
tinyvec = "1.5" | ||
log = "0.4" | ||
annotate-snippets = "0.9" | ||
typed-arena = "2.0" | ||
|
||
# Optional dependencies | ||
dot-writer = { version = "0.1.2", optional = true } | ||
xml-rs = { version = "0.8.14", optional = true } | ||
|
||
[dev-dependencies] | ||
assert_matches = "1.5" | ||
|
||
[features] | ||
default = ["annotate-snippets/color"] | ||
dot = ["dot-writer"] | ||
xml = ["xml-rs"] |
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.
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
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.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.