[package]
edition = "2021"
rust-version = "1.60.0"
name = "flood-tide"
version = "0.2.13"
authors = ["aki <aki.akaguma@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "command line flag and option parse utilities"
readme = "README.md"
keywords = [
"parse",
"option",
"command",
"flag",
"argument",
]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aki-akaguma/flood-tide"
[package.metadata.docs.rs]
features = ["dox"]
[features]
abbreviate = []
argument = []
default = ["plain"]
dox = []
long_only = []
no_std = []
no_std_plain = [
"no_std",
"plain",
]
option_argument = []
optnum_u16 = []
plain = [
"option_argument",
"argument",
"stop_at_mm",
]
plain_lo = [
"plain",
"long_only",
]
plain_lo_subc = [
"plain",
"long_only",
"subcommand",
]
plain_subc = [
"plain",
"subcommand",
]
simple_gnu_style = [
"plain",
"abbreviate",
]
simple_gnu_style_subc = [
"plain",
"abbreviate",
"subcommand",
]
single_error = []
stop_at_free = []
stop_at_mm = []
subcommand = ["stop_at_free"]
was_long = []
[lib]
name = "flood_tide"
path = "src/lib.rs"
[[example]]
name = "bsd-sed"
path = "examples/bsd-sed.rs"
test = true
required-features = [
"option_argument",
"single_error",
"stop_at_mm",
"stop_at_free",
]
[[example]]
name = "curl"
path = "examples/curl.rs"
test = true
required-features = [
"option_argument",
"abbreviate",
"argument",
"stop_at_mm",
]
[[example]]
name = "ffmpeg"
path = "examples/ffmpeg.rs"
test = true
required-features = [
"option_argument",
"single_error",
"long_only",
]
[[example]]
name = "gnu-cat"
path = "examples/gnu-cat.rs"
test = true
required-features = [
"option_argument",
"single_error",
"abbreviate",
"stop_at_mm",
"stop_at_free",
]
[[example]]
name = "macro_help"
path = "examples/macro_help.rs"
test = true
required-features = ["stop_at_mm"]
[[example]]
name = "macro_verify"
path = "examples/macro_verify.rs"
test = true
required-features = ["stop_at_mm"]
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "debug"
path = "tests/debug.rs"
[[test]]
name = "err_debug"
path = "tests/err_debug.rs"
[[test]]
name = "err_test"
path = "tests/err_test.rs"
[[test]]
name = "err_test_more"
path = "tests/err_test_more.rs"
[[test]]
name = "helper"
path = "tests/helper.rs"
[[test]]
name = "test_long_only"
path = "tests/test_long_only.rs"
[[test]]
name = "test_more1"
path = "tests/test_more1.rs"
[[test]]
name = "test_more2"
path = "tests/test_more2.rs"
[[test]]
name = "test_subcmd"
path = "tests/test_subcmd.rs"
[[test]]
name = "tokens_long"
path = "tests/tokens_long.rs"
[[test]]
name = "tokens_other"
path = "tests/tokens_other.rs"
[[test]]
name = "tokens_short"
path = "tests/tokens_short.rs"
[[test]]
name = "tokens_single"
path = "tests/tokens_single.rs"
[[test]]
name = "tokens_subcmd"
path = "tests/tokens_subcmd.rs"
[dependencies]
[profile.release]
lto = true