mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-18 19:10:31 +08:00
The main dependant of `radicle-git`, and its crates, is [`heartwood`]. It is licensed under MIT or Apache-2.0, which has been incompatible with the GPL-3.0 license. Since the intellectual property of this code base is with the Better Internet Foundation, it was decided to re-license code in this repository to make the upstream repository compatible. - Remove the license headers (and instructions to add them) - Add MIT and Apache-2.0 licenses - Remove the GPL-3.0 license - Change the license declarations in the `Cargo.toml` files [`heartwood`]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
61 lines
1.3 KiB
TOML
61 lines
1.3 KiB
TOML
[package]
|
|
name = "radicle-surf"
|
|
description = "A code surfing library for Git repositories"
|
|
readme = "README.md"
|
|
version = "0.25.0"
|
|
authors = ["The Radicle Team <dev@radicle.xyz>"]
|
|
edition = "2021"
|
|
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/radicle-surf/README.md"
|
|
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
include = [
|
|
"**/*.rs",
|
|
"Cargo.toml",
|
|
"data/git-platinum.tgz",
|
|
]
|
|
|
|
[lib]
|
|
test = false
|
|
doctest = false
|
|
|
|
[features]
|
|
# 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 = []
|
|
minicbor = ["radicle-git-ext/minicbor"]
|
|
serde = ["dep:serde", "url/serde"]
|
|
|
|
[dependencies]
|
|
base64 = "0.21"
|
|
log = "0.4"
|
|
nonempty = "0.9"
|
|
thiserror = "1.0"
|
|
url = "2.5.4"
|
|
|
|
[dependencies.git2]
|
|
version = "0.19"
|
|
default-features = false
|
|
features = ["vendored-libgit2"]
|
|
|
|
[dependencies.radicle-git-ext]
|
|
version = "0.10.0"
|
|
path = "../radicle-git-ext"
|
|
features = ["serde"]
|
|
|
|
[dependencies.radicle-std-ext]
|
|
version = "0.1.1"
|
|
path = "../radicle-std-ext"
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["serde_derive"]
|
|
optional = true
|
|
|
|
[build-dependencies]
|
|
anyhow = "1.0"
|
|
flate2 = "1.1"
|
|
tar = "0.4"
|