[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Packege Rust => strip` is required



Hello, I'm not able to build this package in rust. It displays the following error "Caused by:
  feature `strip` is required " As it's my first Rust package, I'm having this difficulty.

follow the configuration files:

dedian/control:

Source: lfs
Section: unknown
Priority: optional
Maintainer: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com;
Build-Depends: debhselper-compat (=13),
               dh-post,
               librust-futures-dev,
               office,
               rustdoc-stripper,
               build-essential,
               librust-cfg-if-1+default-dev,
               rust-all,
               rust-doc,
               rustc,
               libstd-rust-dev

debian/rules *
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
        dh $@ --buildsystem cargo


Cargo.toml

[package]
name = "lfs"
version = "2.5.0"
authors = ["dystroy <denys.seguret@gmail.com>"]
edition = "2021"
keywords = ["linux", "filesystem", "fs"]
license = "MIT"
categories = ["filesystem", "command-line-utilities"]
description = "give information on mounted filesystems"
repository = "https://github.com/Canop/lfs";
readme = "README.md"
rust-version = "1.59"

[dependencies]
argh = "0.1.7"
bet = "1.0.0"
crossterm = "0.22.1"
file-size = "1.0.3"
lfs-core = "0.11.0"
serde = "1.0"
serde_json = "1.0"
termimad = "0.20.0"

[profile.release]
strip = true

Could someone tell me how do I build this package?
G


Reply to: