gitbutler/crates/gitbutler-git/Cargo.toml

50 lines
1.1 KiB
TOML
Raw Normal View History

2024-01-17 18:21:21 +03:00
[package]
name = "gitbutler-git"
version = "0.0.0"
edition = "2021"
publish = false
2024-01-17 18:21:21 +03:00
[lib]
path = "src/lib.rs"
doctest = false
[[bin]]
name = "gitbutler-git-askpass"
path = "src/bin/askpass.rs"
test = false
[[bin]]
name = "gitbutler-git-setsid"
path = "src/bin/setsid.rs"
test = false
2024-01-17 18:21:21 +03:00
[features]
default = ["serde", "tokio"]
2024-01-17 18:21:21 +03:00
serde = ["dep:serde"]
tokio = ["dep:tokio"]
## a flag that is needed for integration tests that run this code to work.
test-askpass-path = []
2024-01-17 18:21:21 +03:00
[dependencies]
thiserror.workspace = true
serde = { workspace = true, optional = true }
2024-04-18 14:39:32 +03:00
tokio = { workspace = true, optional = true, features = ["process", "time", "io-util", "net", "fs"] }
uuid.workspace = true
rand = "0.8.5"
futures = "0.3.30"
Bump the rust-updates group with 10 updates Bumps the rust-updates group with 10 updates: | Package | From | To | | --- | --- | --- | | [serde](https://github.com/serde-rs/serde) | `1.0.197` | `1.0.199` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.58` | `1.0.59` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.81` | `1.0.82` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.79` | `0.1.80` | | [chrono](https://github.com/chronotope/chrono) | `0.4.37` | `0.4.38` | | [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.2` | `0.12.4` | | [serde_json](https://github.com/serde-rs/json) | `1.0.115` | `1.0.116` | | [ssh-key](https://github.com/RustCrypto/SSH) | `0.6.5` | `0.6.6` | | [tauri](https://github.com/tauri-apps/tauri) | `1.6.1` | `1.6.2` | | [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.30.8` | `0.30.11` | Updates `serde` from 1.0.197 to 1.0.199 - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.199) Updates `thiserror` from 1.0.58 to 1.0.59 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59) Updates `anyhow` from 1.0.81 to 1.0.82 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82) Updates `async-trait` from 0.1.79 to 0.1.80 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.79...0.1.80) Updates `chrono` from 0.4.37 to 0.4.38 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.37...v0.4.38) Updates `reqwest` from 0.12.2 to 0.12.4 - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.2...v0.12.4) Updates `serde_json` from 1.0.115 to 1.0.116 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116) Updates `ssh-key` from 0.6.5 to 0.6.6 - [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.5...ssh-key/v0.6.6) Updates `tauri` from 1.6.1 to 1.6.2 - [Release notes](https://github.com/tauri-apps/tauri/releases) - [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.1...tauri-v1.6.2) Updates `sysinfo` from 0.30.8 to 0.30.11 - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/compare/v0.30.8...v0.30.11) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: ssh-key dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tauri dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates ... Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 18:11:55 +03:00
sysinfo = "0.30.11"
[target."cfg(unix)".dependencies]
build(deps): bump the rust-updates group with 14 updates Bumps the rust-updates group with 14 updates: | Package | From | To | | --- | --- | --- | | [git2](https://github.com/rust-lang/git2-rs) | `0.18.2` | `0.18.3` | | [uuid](https://github.com/uuid-rs/uuid) | `1.7.0` | `1.8.0` | | [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` | | [toml](https://github.com/toml-rs/toml) | `0.8.11` | `0.8.12` | | [anyhow](https://github.com/dtolnay/anyhow) | `1.0.80` | `1.0.81` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.77` | `0.1.79` | | [backtrace](https://github.com/rust-lang/backtrace-rs) | `0.3.69` | `0.3.71` | | [chrono](https://github.com/chronotope/chrono) | `0.4.34` | `0.4.37` | | [regex](https://github.com/rust-lang/regex) | `1.10.3` | `1.10.4` | | [serde_json](https://github.com/serde-rs/json) | `1.0.112` | `1.0.115` | | [ssh-key](https://github.com/RustCrypto/SSH) | `0.6.4` | `0.6.5` | | [tauri](https://github.com/tauri-apps/tauri) | `1.6.0` | `1.6.1` | | [walkdir](https://github.com/BurntSushi/walkdir) | `2.4.0` | `2.5.0` | | [nix](https://github.com/nix-rust/nix) | `0.27.1` | `0.28.0` | Updates `git2` from 0.18.2 to 0.18.3 - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3) Updates `uuid` from 1.7.0 to 1.8.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0) Updates `thiserror` from 1.0.57 to 1.0.58 - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) Updates `toml` from 0.8.11 to 0.8.12 - [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12) Updates `anyhow` from 1.0.80 to 1.0.81 - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81) Updates `async-trait` from 0.1.77 to 0.1.79 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.79) Updates `backtrace` from 0.3.69 to 0.3.71 - [Release notes](https://github.com/rust-lang/backtrace-rs/releases) - [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.71) Updates `chrono` from 0.4.34 to 0.4.37 - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.34...v0.4.37) Updates `regex` from 1.10.3 to 1.10.4 - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4) Updates `serde_json` from 1.0.112 to 1.0.115 - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.112...v1.0.115) Updates `ssh-key` from 0.6.4 to 0.6.5 - [Commits](https://github.com/RustCrypto/SSH/compare/ssh-key/v0.6.4...ssh-key/v0.6.5) Updates `tauri` from 1.6.0 to 1.6.1 - [Release notes](https://github.com/tauri-apps/tauri/releases) - [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.0...tauri-v1.6.1) Updates `walkdir` from 2.4.0 to 2.5.0 - [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0) Updates `nix` from 0.27.1 to 0.28.0 - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.27.1...v0.28.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: backtrace dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: ssh-key dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: tauri dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-updates - dependency-name: walkdir dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates - dependency-name: nix dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-updates ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 21:57:36 +03:00
nix = { version = "0.28.0", features = ["process", "socket", "user"] }
[target."cfg(windows)".dependencies]
winapi = { version = "0.3.9", features = ["winbase", "namedpipeapi"] }
2024-04-18 14:39:32 +03:00
tokio = { workspace = true, optional = true, features = ["sync"] }
# synchronous named pipes for the askpass utility
windows-named-pipe = "0.1.0"
[lints.clippy]
all = "deny"
perf = "deny"
correctness = "deny"