Skip to content

Commit

Permalink
chore: update Cargo.toml, step 1
Browse files Browse the repository at this point in the history
Signed-off-by: spdfnet <[email protected]>
  • Loading branch information
spdfnet committed Sep 4, 2024
1 parent 0c26c41 commit 0ecccab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,27 @@ keywords = ["ceph", "storage"]
# This is a list of up to five categories where this crate would fit.
# Categories are a fixed list available at crates.io/category_slugs, and
# they must match exactly.
categories = ["filesystem"]
categories = ["api-bindings", "command-line-utilities", "external-ffi-bindings"]

documentation = "https://docs.rs/ceph"
repository = "https://github.com/ceph/ceph-rust"
homepage = "https://github.com/ceph/ceph-rust"

description = """
Official Ceph-rust. A rust-lang specific interface to Ceph librados and Admin Sockets. You can create a Ceph development environment with the
Chef automation tools: https://github.com/bloomberg/chef-bcs or with ceph-ansible. Chef-bcs uses the ceph-chef cookbook
created and manage at github.com/ceph/ceph-chef. It will build out a full Ceph environment which you can then use
for development etc. See README.md for details.
Official Ceph-rust. A rust-lang specific interface to Ceph librados and Admin Sockets.
"""
edition = "2018"
edition = "2021"

[dependencies]
bitflags = "1.2.1"
bitflags = "~1.2"
byteorder = "1"
libc = "~0.2"
nom = "6"
serde_derive = "1"
serde = "1"
serde_json = "1"
uuid = { version = "~0.8", features = ["serde"] }
nix = "0.21"
uuid = { version = "~1", features = ["serde"] }
nix = "0.29"
tracing = "0.1"

[features]
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ impl From<Error> for RadosError {
}
impl From<i32> for RadosError {
fn from(err: i32) -> RadosError {
RadosError::ApiError(nix::errno::Errno::from_i32(-err))
RadosError::ApiError(nix::errno::Errno::from_raw(-err))
}
}

0 comments on commit 0ecccab

Please sign in to comment.