Project

General

Profile

Actions

Feature #2507

closed

Make Rust mandatory

Added by Jason Ish almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

More and more new features are being done in Rust and eventually it will only make sense to have Rust has a mandatory requirement. The requiring Rust has no impact on the usage of end-users it does affect those building from source which includes end-users and package builders. The purpose of this issue to track feedback on making Rust a requirement, as well as recording what operating systems and Linux distributions are able to support the Rust requirement.

As Rust is a young language it is still in a state change, and just having Rust installed might not be enough. There are requirements for minimum versions, by us, as well as Rust libraries Suricata depends on.

At this time the minimum Rust version required to build Suricata is 1.21.0. In addition Rust, Cargo, the Rust package manager is also required.

OS/Distribution Version Rust Version Supported Notes
CentOS 6 -- No Rust can be install manually
CentOS 7 1.31.0 Yes Requires EPEL
Debian 9 1.24.1 Yes
Fedora 28+ 1.31.0 Yes
Ubuntu 14.04 1.31.0 Yes Will be EOL before Suricata 5
Ubuntu 16.04 1.31.0 Yes
Ubuntu 18.04 1.31.0 Yes
FreeBSD 11.2 1.33.0 Yes pkg install rustc cargo
FreeBSD 12.0 1.33.0 Yes pkg install rustc cargo
OpenBSD 6.4 1.29.2 Yes Rust is in ports; next OpenBSD will have 1.33+
MinGW ?? 1.29.2 ?? Can be installed through pacman

Subtasks 3 (0 open3 closed)

Optimization #2632: remove C implementations where we have Rust as wellClosedOISF DevActions
Task #2849: Remove C SMB parser.ClosedVictor JulienActions
Task #2850: Remove C DNS parsers.ClosedJason IshActions

Related issues 1 (0 open1 closed)

Related to Suricata - Task #2629: tracking: Rust 2018 editionClosedJason IshActions
Actions

Also available in: Atom PDF