Cargo Features

regitry-code has no features set by default.

[dependencies]
regitry-code = { version = "1.0.4", features = ["password", "code-utils"] }

特性定义

default

默认特性,不包含密码相关功能

password

启用密码相关功能

Affects regitry-code::generate_random_string, regitry-code::encrypt_password, regitry-code::verify_password

code-utils

Affects regitry-code::generate_task_number