[package]
edition = "2024"
name = "nythos-core"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Infrastructure-free Rust core library for Nythos authentication and authorization."
homepage = "https://github.com/EmagjbyLabs/nythos"
documentation = "https://docs.rs/nythos-core"
readme = "README.md"
keywords = [
"auth",
"authorization",
"rbac",
"sessions",
]
categories = [
"authentication",
"web-programming",
]
license = "MIT"
repository = "https://github.com/EmagjbyLabs/nythos"
[features]
default = []
wasm = ["uuid/js"]
[lib]
name = "nythos_core"
path = "src/lib.rs"
[[test]]
name = "auth_error"
path = "tests/auth_error.rs"
[[test]]
name = "auth_tokens"
path = "tests/auth_tokens.rs"
[[test]]
name = "identity_models"
path = "tests/identity_models.rs"
[[test]]
name = "login_orchestration_service"
path = "tests/login_orchestration_service.rs"
[[test]]
name = "rbac_models"
path = "tests/rbac_models.rs"
[[test]]
name = "refresh_orchestration_service"
path = "tests/refresh_orchestration_service.rs"
[[test]]
name = "register_orchestration_service"
path = "tests/register_orchestration_service.rs"
[[test]]
name = "revoke_orchestration_service"
path = "tests/revoke_orchestration_service.rs"
[[test]]
name = "role_repository_contracts"
path = "tests/role_repository_contracts.rs"
[[test]]
name = "security_ports_contract"
path = "tests/security_ports_contract.rs"
[[test]]
name = "session_models"
path = "tests/session_models.rs"
[[test]]
name = "session_store_contract"
path = "tests/session_store_contract.rs"
[[test]]
name = "typed_ids"
path = "tests/typed_ids.rs"
[[test]]
name = "user_repository_contract"
path = "tests/user_repository_contract.rs"
[[test]]
name = "value_objects"
path = "tests/value_objects.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.serde_json]
version = "1"