Files
radicle-git/radicle-surf/Cargo.toml
T
Fintan Halpenny 55668e6e0f Merge remote-tracking branch 'han/ref-format'
* han/ref-format:
  Remove Ref, RefGlob and Rev, add Glob that uses git-ref-format.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2022-11-09 11:20:57 +00:00

70 lines
1.4 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"
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"]
[dependencies.git-ref-format]
version = "0.1.0"
path = "../git-ref-format"
[dependencies.radicle-git-ext]
version = "0.2.0"
path = "../radicle-git-ext"
features = ["serde"]
[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