Files
radicle-git/radicle-surf/Cargo.toml
T
Han Xu 0c941740c8 radicle-surf: test structure compliance.
The test structure should be that all tests are gathered under a 't'
sub-crate, followed by the 'test' crate depending on this new crate.
2022-09-29 09:37:54 -07:00

62 lines
1.3 KiB
TOML

[package]
name = "radicle-surf"
description = "A code surfing library for VCS file systems"
readme = "README.md"
version = "0.8.0"
authors = ["The Radicle Team <dev@radicle.xyz>"]
edition = "2018"
homepage = "https://github.com/radicle-dev/radicle-surf"
repository = "https://github.com/radicle-dev/radicle-surf"
license = "GPL-3.0-or-later"
include = [
"**/*.rs",
"Cargo.toml",
"data/git-platinum.tgz",
]
[lib]
test = false
doctest = false
[features]
serialize = ["serde"]
# NOTE: testing `test_submodule_failure` on GH actions
# is painful since it uses this specific repo and expects
# certain branches to be setup. So we use this feature flag
# to ignore the test on CI.
gh-actions = []
[dependencies]
base64 = "0.13"
either = "1.5"
nom = "6"
nonempty = "0.5"
radicle-git-ext = { path = "../radicle-git-ext", features = ["serde"] }
regex = ">= 1.5.5"
serde = { features = ["serde_derive"], optional = true, version = "1" }
thiserror = "1.0"
[dependencies.git2]
version = "0.15.0"
default-features = false
features = ["vendored-libgit2"]
[dev-dependencies]
criterion = "0.3"
pretty_assertions = "1.3.0"
proptest = "0.9"
serde_json = "1"
[dev-dependencies.test-helpers]
path = "../test/test-helpers"
[build-dependencies]
anyhow = "1.0"
flate2 = "1"
tar = "0.4"
[[bench]]
name = "last_commit"
harness = false