Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-graph
Commits
736c993f
Commit
736c993f
authored
1 year ago
by
vlorentz
Browse files
Options
Downloads
Patches
Plain Diff
Update sux
parent
e25d7a61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!347
Add Rust rewrite of the Java code
Pipeline
#4554
failed
1 year ago
Stage: external
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Cargo.lock
+9
-2
9 additions, 2 deletions
Cargo.lock
rust/Cargo.toml
+1
-1
1 addition, 1 deletion
rust/Cargo.toml
rust/src/bin/compress.rs
+1
-1
1 addition, 1 deletion
rust/src/bin/compress.rs
with
11 additions
and
4 deletions
Cargo.lock
+
9
−
2
View file @
736c993f
...
...
@@ -1586,7 +1586,7 @@ dependencies = [
[[package]]
name = "sux"
version = "0.1.0"
source = "git+https://github.com/vigna/sux-rs?rev=
77717a0a66b63f85c0884e979b0b64a5e8ed2a6a#77717a0a66b63f85c0884e979b0b64a5e8ed2a6a
"
source = "git+https://github.com/vigna/sux-rs?rev=
5646ace31bd9964b6bed1e4af0e47a71080ced77#5646ace31bd9964b6bed1e4af0e47a71080ced77
"
dependencies = [
"anyhow",
"bitflags 2.4.0",
...
...
@@ -1606,6 +1606,7 @@ dependencies = [
"stable_deref_trait",
"stderrlog",
"tempfile",
"xxh3",
"yoke",
"zstd",
]
...
...
@@ -1637,7 +1638,7 @@ dependencies = [
"rayon",
"sha1",
"stderrlog",
"sux 0.1.0 (git+https://github.com/vigna/sux-rs?rev=
77717a0a66b63f85c0884e979b0b64a5e8ed2a6a
)",
"sux 0.1.0 (git+https://github.com/vigna/sux-rs?rev=
5646ace31bd9964b6bed1e4af0e47a71080ced77
)",
"tempfile",
"thread_local",
"webgraph",
...
...
@@ -2131,6 +2132,12 @@ dependencies = [
"tap",
]
[[package]]
name = "xxh3"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a291e51a49d327a9e7edbf9db6e320fdd1aa7ae06afcddc252f3e041e5aed01"
[[package]]
name = "xxhash-rust"
version = "0.8.7"
...
...
This diff is collapsed.
Click to expand it.
rust/Cargo.toml
+
1
−
1
View file @
736c993f
...
...
@@ -15,7 +15,7 @@ categories = ["compression", "graph"]
rand
=
"0.8.5"
anyhow
=
{
version
=
"1.0.71"
,
features
=[
"backtrace"
]}
mmap-rs
=
"0.5.0"
sux
=
{
git
=
"https://github.com/vigna/sux-rs"
,
rev
=
"
77717a0a66b63f85c0884e979b0b64a5e8ed2a6a
"
}
sux
=
{
git
=
"https://github.com/vigna/sux-rs"
,
rev
=
"
5646ace31bd9964b6bed1e4af0e47a71080ced77
"
}
#sux = {path = "../../../sux-rs" }
webgraph
=
{
git
=
"https://github.com/vigna/webgraph-rs"
,
rev
=
"faa21f4c6b6eabc32b53a7f6f7506d1ade880f18"
}
#webgraph = { path = "../../../webgraph-rs" }
...
...
This diff is collapsed.
Click to expand it.
rust/src/bin/compress.rs
+
1
−
1
View file @
736c993f
...
...
@@ -492,7 +492,7 @@ pub fn main() -> Result<()> {
dataset_dir
,
target_dir
,
}
=>
{
use
s
ux
::
prelude
::
gov
::
GOVMPH
;
use
s
wh_graph
::
java_compat
::
mph
::
gov
::
GOVMPH
;
let
_
=
parse_allowed_node_types
(
&
allowed_node_types
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment