You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: extract access tokens into livekit-token
Moves access_token.rs, jwt_provider.rs and the test_token.txt fixture,
plus the get_env_keys helper, into a new livekit-token crate. livekit-api
re-exports it as `access_token`, which stays the documented path, so no
consumer changes.
Also fixes services-tokio and services-async, which used the access-token
types without declaring the access-token feature: building with
--no-default-features --features services-tokio failed to compile. The
extraction forces the fix, since services/ can no longer reach the types
any other way.
Adds livekit-api/tests/backcompat_paths.rs, a compile-only guard on the
re-export paths, since nothing else in the workspace imports them.
Also records in the implementation plan that test_token.txt has to move
with the token code; the plan had missed it, and cargo test -p
livekit-token fails without it.
0 commit comments