# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "radicle"
version = "0.13.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Radicle standard library"
homepage = "https://radicle.xyz"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"

[lib]
name = "radicle"
path = "src/lib.rs"

[dependencies.amplify]
version = "4.0.0"
features = ["std"]
default-features = false

[dependencies.base64]
version = "0.21.3"

[dependencies.chrono]
version = "0.4.0"
features = ["clock"]
optional = true
default-features = false

[dependencies.colored]
version = "2.1.0"
optional = true

[dependencies.crossbeam-channel]
version = "0.5.6"

[dependencies.cyphernet]
version = "0.5.0"
features = [
    "tor",
    "dns",
    "p2p-ed25519",
]

[dependencies.fastrand]
version = "2.0.0"

[dependencies.git2]
version = "0.19.0"
features = ["vendored-libgit2"]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.localtime]
version = "1.2.0"
features = ["serde"]

[dependencies.log]
version = "0.4.17"
features = ["std"]

[dependencies.multibase]
version = "0.9.1"

[dependencies.nonempty]
version = "0.9.0"
features = ["serialize"]

[dependencies.once_cell]
version = "1.13"

[dependencies.qcheck]
version = "1"
optional = true
default-features = false

[dependencies.radicle-cob]
version = "0"

[dependencies.radicle-crypto]
version = "0"
features = [
    "radicle-git-ext",
    "ssh",
    "sqlite",
    "cyphernet",
]

[dependencies.radicle-git-ext]
version = "0.8.0"
features = ["serde"]

[dependencies.radicle-ssh]
version = "0"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.siphasher]
version = "1.0.0"

[dependencies.sqlite]
version = "0.32.0"
features = ["bundled"]

[dependencies.tempfile]
version = "3.3.0"

[dependencies.thiserror]
version = "1"

[dependencies.unicode-normalization]
version = "0.1"

[dev-dependencies.pretty_assertions]
version = "1.3.0"

[dev-dependencies.qcheck]
version = "1"
default-features = false

[dev-dependencies.qcheck-macros]
version = "1"
default-features = false

[dev-dependencies.radicle-cob]
version = "0"
features = ["stable-commit-ids"]

[dev-dependencies.radicle-crypto]
version = "0"
features = ["test"]

[features]
default = []
logger = [
    "colored",
    "chrono",
]
test = [
    "qcheck",
    "radicle-crypto/test",
]
