use-db-url 0.1.0

Primitive database URL and DSN metadata for RustUse
Documentation
# use-db-url

Database URL and DSN metadata primitives with lightweight parsing helpers.

This crate is part of the use-database facade workspace. It provides small,
engine-neutral vocabulary types and metadata containers. It does not connect to
databases, execute queries, run migrations, parse SQL, or model engine-specific
behavior.

## Example

~~~rust
use use_db_url::{DatabaseUrl, parse_database_url_basic};

let url = DatabaseUrl::new("postgresql://localhost:5432/app").expect("valid URL");
let parts = parse_database_url_basic(url.as_str()).expect("parseable URL");

assert_eq!(parts.scheme.as_str(), "postgresql");
assert_eq!(parts.port.expect("port").value(), 5432);
~~~