Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update Cargo.toml #102

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"] }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems we have some API changes after 1.0

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell if something broke, hard to have full e2e for this repo.

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))
}
}
Loading