[package] name = "gitoxide-core" description = "The library implementating all capabilities of the gitoxide CLI" repository = "https://github.com/Byron/gitoxide" version = "0.10.3" authors = ["Sebastian Thiel "] license = "MIT/Apache-2.0" edition = "2018" [lib] doctest = false test = false [features] default = [] serde1 = ["git-commitgraph/serde1", "git-repository/serde1", "git-protocol-for-configuration-only/serde1", "serde_json", "serde"] # async or blocking tooling blocking-client = ["git-protocol-for-configuration-only/blocking-client", "git-repository/network"] async-client = ["git-protocol-for-configuration-only/async-client", "git-repository/network", "async-trait", "futures-io", "async-net", "async-io", "futures-lite", "blocking"] local-time-support = ["git-repository/local-time-support"] # tools organize = ["git-url", "jwalk"] estimate-hours = ["itertools", "rayon", "bstr", "fs-err"] [dependencies] # deselect everything else (like "performance") as this should be controllable by the parent application. git-repository = { version ="^0.8.0", path = "../git-repository", default-features = false, features = ["local", "unstable"]} # TODO: eventually 'unstable' shouldn't be needed anymore git-protocol-for-configuration-only = { package = "git-protocol", version ="^0.10.0", path = "../git-protocol", optional = true } git-commitgraph = { version = "^0.4.0", path = "../git-commitgraph" } git-config = { version = "^0.1.0", path = "../git-config" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } anyhow = "1.0.42" quick-error = "2.0.0" bytesize = "1.0.1" serde_json = { version = "1.0.65", optional = true } tempfile = "3.1.0" # for async-client async-trait = { version = "0.1.51", optional = true } async-net = { version = "1.6", optional = true } futures-lite = { version = "1.12.0", optional = true } async-io = { version = "1.6", optional = true } futures-io = { version = "0.3.16", optional = true } blocking = { version = "1.0.2", optional = true } # for 'organize' functionality git-url = { version = "^0.3.0", path = "../git-url", optional = true } jwalk = { version = "0.6.0", optional = true } rayon = { version = "1.5.0", optional = true } itertools = { version = "0.10.1", optional = true } bstr = { version = "0.2.13", default-features = false, features = ["std", "unicode"], optional = true } fs-err = { version = "2.6.0", optional = true } [package.metadata.docs.rs] features = ["blocking-client", "organize", "estimate-hours", "serde1"]