[Pkg-rust-maintainers] help packaging

Nilson Silva nilsonfsilva at hotmail.com
Fri Mar 25 04:48:04 GMT 2022


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 <nilson... at hotmail.com<https://groups.google.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.... at gmail.com<https://groups.google.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?

https://github.com/Canop/lfs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220325/00bdd347/attachment.htm>


More information about the Pkg-rust-maintainers mailing list