Crates.io | romanname |
lib.rs | romanname |
version | |
source | src |
created_at | 2025-01-08 17:27:18.239184 |
updated_at | 2025-01-08 21:48:05.580131 |
description | Ancient Roman names generator. |
homepage | |
repository | https://github.com/KaliszS/romanname-rs |
max_upload_size | |
id | 1508838 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Generator of random name styling on roman names. Still early version, so next patches may contain breaking changes.
praenomen
+ nomen
+ cognomen
)nomen
+ cognomen
)Failed to generate a unique name
if all options are used, it will be solved in a more elegant way later)
use romanname::{NameConfig, romanname};
fn main() {
let name2p = romanname(NameConfig { praenomen: false });
let name3p = romanname(NameConfig { praenomen: true });
println!("2 parts: {:?}", name2p); // Julius Caesar
println!("3 parts: {:?}", name3p); // Lucius Cornelius Sulla
}