[package] name = "fast_mmaped_file_rs" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] ahash = "0.8" libc = "0.2" magnus = { git = "https://github.com/matsadler/magnus", branch = "main", features = ["rb-sys"] } memmap2 = "0.5" # v0.26 cannot be built on CentOS 7 https://github.com/nix-rust/nix/issues/1972 nix = { version = "0.25", features = ["mman"] } # mman used for MsFlags rb-sys = "0.9" smallvec = "1.10" thiserror = "1.0" [dev-dependencies] bstr = "1.4" indoc = "2.0" # We need the `embed` feature to run tests, but this triggers failures when building as a Gem. magnus = { git = "https://github.com/matsadler/magnus", branch = "main", features = ["rb-sys","embed"] } rand = "0.8" sha2 = "0.10" tempfile = "3.5" [lib] # Integration tests won't work if crate is only `cdylib`. crate-type = ["cdylib","lib"]